llvm-6502/lib/Transforms/Scalar
Bob Wilson 032742972f Change Value::getUnderlyingObject to have the MaxLookup value specified as a
parameter with a default value, instead of just hardcoding it in the
implementation.  The limit of MaxLookup = 6 was introduced in r69151 to fix
a performance problem with O(n^2) behavior in instcombine, but the scalarrepl
pass is relying on getUnderlyingObject to go all the way back to an AllocaInst.
Making the limit part of the method signature makes it clear that by default
the result is limited and should help avoid similar problems in the future.
This fixes pr6126.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94433 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-25 18:26:54 +00:00
..
ABCD.cpp
ADCE.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
BasicBlockPlacement.cpp
CMakeLists.txt
CodeGenPrepare.cpp When doing address-mode sinking, expand the base register first, rather 2010-01-19 22:45:06 +00:00
ConstantProp.cpp
DCE.cpp
DeadStoreElimination.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
GEPSplitter.cpp
GVN.cpp Convert some of the dynamic opcode lookups into static ones. 2010-01-17 19:33:27 +00:00
IndVarSimplify.cpp Re-implement the main strength-reduction portion of LoopStrengthReduction. 2010-01-21 02:09:26 +00:00
JumpThreading.cpp third bug from PR6119: the xor dupe extension allows 2010-01-23 19:21:31 +00:00
LICM.cpp
LoopDeletion.cpp
LoopIndexSplit.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
LoopRotation.cpp
LoopStrengthReduce.cpp Revert LoopStrengthReduce.cpp to pre-r94061 for now. 2010-01-22 00:46:49 +00:00
LoopUnrollPass.cpp
LoopUnswitch.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MemCpyOptimizer.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
Reassociate.cpp only factor from expressions whose uses are empty and whose 2010-01-09 06:01:36 +00:00
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp Change Value::getUnderlyingObject to have the MaxLookup value specified as a 2010-01-25 18:26:54 +00:00
SCCP.cpp
SCCVN.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
SimplifyCFGPass.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
SimplifyHalfPowrLibCalls.cpp
SimplifyLibCalls.cpp Reapply 94059 while fixing the calling convention setup 2010-01-23 05:29:06 +00:00
TailDuplication.cpp
TailRecursionElimination.cpp