llvm-6502/lib/VMCore
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
..
AsmWriter.cpp Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue() 2010-01-20 04:45:57 +00:00
Attributes.cpp Remove the InlineHint attribute. There are no current or planned 2010-01-15 21:36:30 +00:00
AutoUpgrade.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
BasicBlock.cpp
CMakeLists.txt Update CMake files for Mangler move. 2010-01-16 22:23:09 +00:00
ConstantFold.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantFold.h
Constants.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantsContext.h
Core.cpp "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." 2010-01-09 22:27:07 +00:00
Dominators.cpp
Function.cpp
Globals.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp simplify code a bit. 2010-01-23 04:42:42 +00:00
IntrinsicInst.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
IRBuilder.cpp
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp
LLVMContextImpl.h
Makefile mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
Metadata.cpp Remove MetadataBase class because it is not adding significant value. 2010-01-22 22:52:10 +00:00
Module.cpp Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. 2010-01-12 18:34:06 +00:00
ModuleProvider.cpp
Pass.cpp give PassNameParser a home. 2010-01-22 06:29:25 +00:00
PassManager.cpp elimiante the dynamic_cast's from opt. 2010-01-22 06:03:06 +00:00
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp
TypesContext.h
TypeSymbolTable.cpp
Use.cpp
Value.cpp Change Value::getUnderlyingObject to have the MaxLookup value specified as a 2010-01-25 18:26:54 +00:00
ValueSymbolTable.cpp Delete NamedMDSymTable while destrucing Module. 2010-01-09 01:44:59 +00:00
ValueTypes.cpp
Verifier.cpp Fix/strengthen verification of llvm.dbg.declare 2010-01-22 19:06:12 +00:00