Eliminate cast instructions: use only GEPs in decomposed sequence.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 3 Aug 2002 13:21:15 +0000 (13:21 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 3 Aug 2002 13:21:15 +0000 (13:21 +0000)
commit900fd63d12f60075e47cd1ef0a25a61d9c5eeaa7
treeea5dc568f4a02252f0925ea01f983e63ff153df7
parenta1396a163d4e76a55d999c9556fc85885c8f8620
Eliminate cast instructions: use only GEPs in decomposed sequence.
Don't decompose if there are 2 indices with 0 as first index.
Compute Changed flag correctly in runOnBasicBlock().

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