diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-01-29 19:19:08 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-01-29 19:19:08 +0000 |
commit | 7c42b9d51e7a05c6b2019f0481eb041a8dd1c1a1 (patch) | |
tree | a5e7e7e8dd1774873dd7e9d44683884617331197 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 65eb86e91252791cea630e6ebcae8a5099aa24cf (diff) | |
download | llvm-7c42b9d51e7a05c6b2019f0481eb041a8dd1c1a1.zip llvm-7c42b9d51e7a05c6b2019f0481eb041a8dd1c1a1.tar.gz llvm-7c42b9d51e7a05c6b2019f0481eb041a8dd1c1a1.tar.bz2 |
Improve isSafeToLoadUnconditionally to recognize that GEPs with constant
indices are safe if the result is known to be within the bounds of the
underlying object.
llvm-svn: 94829
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions