Struct GEPs must use i32, not whatever size_t is. It should be safe
authorJohn McCall <rjmccall@apple.com>
Thu, 1 Dec 2016 23:51:30 +0000 (23:51 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 1 Dec 2016 23:51:30 +0000 (23:51 +0000)
commit8986361fa15a4560d8a241bae726bb237b5c27e5
tree729e24f9bffce10ef99ce3163cbfda22767447ba
parent7ffce7be0caabd4016acde2ba3a8d3ee82d52190
Struct GEPs must use i32, not whatever size_t is.  It should be safe
to do this unconditionally, given that the indices will always be small
constant integers anyway.

llvm-svn: 288440
clang/lib/CodeGen/ConstantBuilder.h