Handle GEPs with all-zero indices in the same way we handle pointer-pointer bitcasts...
authorOwen Anderson <resistor@mac.com>
Fri, 13 Jul 2007 22:50:48 +0000 (22:50 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 13 Jul 2007 22:50:48 +0000 (22:50 +0000)
commita08971559d6393307070ec970e35240eb0598deb
tree479fddb6826f1c07903096559fa2d474bf309230
parentfba36b8cbabcc0a457484bb2babe71a5f570435c
Handle GEPs with all-zero indices in the same way we handle pointer-pointer bitcasts. Also, fix a potentia infinite loop.

This brings FastDSE to parity with old DSE on 175.vpr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39839 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/FastDSE.cpp