Significant improvement: GEP used by a load or store no longer generates
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 14 Oct 2002 16:30:55 +0000 (16:30 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 14 Oct 2002 16:30:55 +0000 (16:30 +0000)
commitcf911de3c61db9291e9338f09b435e9a4868c2de
treea83891b443321a2b4e5678589c2da99d1c877db0
parent8becaedfa8af39a470c249c11d3dc3ee0d75bb84
Significant improvement: GEP used by a load or store no longer generates
a separate ADD; instead just use the indexed load/store instruction!
Also, a bug fix: folding a GEP with a leading non-zero index with
its predecessor was incorrect: now it only happens if the predecessor
is pointing to an indexable type (aka SequentialType).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4168 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp