diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2007-03-22 02:02:51 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2007-03-22 02:02:51 +0000 |
commit | 27e4da93b6924879aabf941bc6c71d4299e92229 (patch) | |
tree | fcb50b51490d9cfba994ddd07684a3631991b8d6 /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 67606125f64f0f90ca4f82c472c90355c656b4dc (diff) |
Fix broken optimization disabled by a logic bug.
Analyze GEPs. If the indices are all zero, transfer whether the pointer is
known to be not null through the GEP.
Add a few more cases for xor and shift instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions