<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">http://llvm.org/docs/LangRef.html#id180</a>)? <div>
<br></div><div>Jingyue<br><div><br></div><div><br></div></div></div>