commit | 27e4da93b6924879aabf941bc6c71d4299e92229 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Thu Mar 22 02:02:51 2007 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Thu Mar 22 02:02:51 2007 +0000 |
tree | fcb50b51490d9cfba994ddd07684a3631991b8d6 | |
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