commit | 3524bd755154f6b8283582a0636cab2080a39a01 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Tue Aug 11 18:28:09 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Tue Aug 11 18:28:09 2009 +0000 |
tree | 142a74bd5f7125b0d966361ecd1eb2a096699844 | |
parent | 3603d7a3528e6f3402ea4f7057a0b7cc5cc6488b [diff] |
Simplify ConstantExpr::getInBoundsGetElementPtr and fix a possible crash, if constant folding eliminated the GEP instruction. - clang was hitting this on its test suite (for x86_64, at least). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78698 91177308-0d34-0410-b5e6-96231b3b80d8