commit | 3eb4f7e2dd98038f94e45d1c45ccff49e6659c87 | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Fri Jan 29 19:19:08 2010 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Fri Jan 29 19:19:08 2010 +0000 |
tree | 9ad9e9d474fae169ffb5303be1b8ff1336e6704e | |
parent | 01eba397936941f35dfb0995beace7ed03b847f2 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94829 91177308-0d34-0410-b5e6-96231b3b80d8