<div dir="ltr"><div class="gmail_quote"><div dir="ltr">When emitting array subscripts, clang extends or truncate the index type to the size of a pointer (lib/CodeGen/CGExpr.cpp:2260). This code was added in a very initial commit. Is it still necessary given gep supports any-width integers as an array index (<a href="http://llvm.org/docs/LangRef.html#id180" target="_blank">http://llvm.org/docs/LangRef.html#id180</a>)? <span class="HOEnZb"><font color="#888888"><div>

<br></div><div>Jingyue<br><div><br></div><div><br></div></div></font></span></div>
</div><br></div>