It doesn't matter what the 2nd operand is; if the GEP has 2 operands and
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 6 Jul 2004 19:24:47 +0000 (19:24 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 6 Jul 2004 19:24:47 +0000 (19:24 +0000)
commit08cc64ebfe7d7026ad4f6d471a78427daf2ef167
tree52f537c956546f191c39f4f573044c02528dec2c
parent10585d92da0dc9a18d6392041f909167d6eee566
It doesn't matter what the 2nd operand is; if the GEP has 2 operands and
the first is a zero, we should leave it alone.

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