llvm-6502/lib/CodeGen/SelectionDAG
Bob Wilson 254c63e336 Avoid exponential blow-up when printing DAGs.
David Greene changed CannotYetSelect() to print the full DAG including multiple
copies of operands reached through different paths in the DAG.  Unfortunately
this blows up exponentially in some cases.  The depth limit of 100 is way too
high to prevent this -- I'm seeing a message string of 150MB with a depth of
only 40 in one particularly bad case, even though the DAG has less than 200
nodes.  Part of the problem is that the printing code is following chain
operands, so if you fail to select an operation with a chain, the printer will
follow all the chained operations back to the entry node.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126899 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-02 23:38:06 +00:00
..
CMakeLists.txt
DAGCombiner.cpp Can't introduce floating-point immediate constants after legalization. 2011-03-02 19:36:30 +00:00
FastISel.cpp
FunctionLoweringInfo.cpp Set NumSignBits to 1 if KnownZero/KnownOne are being zero extended. In theory it 2011-02-25 01:11:01 +00:00
InstrEmitter.cpp
InstrEmitter.h
LegalizeDAG.cpp Allow targets to specify a the type of the RHS of a shift parameterized on the type of the LHS. 2011-02-25 21:41:48 +00:00
LegalizeFloatTypes.cpp Allow targets to specify a the type of the RHS of a shift parameterized on the type of the LHS. 2011-02-25 21:41:48 +00:00
LegalizeIntegerTypes.cpp Use the correct shift amount type. 2011-02-28 21:10:10 +00:00
LegalizeTypes.cpp
LegalizeTypes.h fix PR9210 by implementing some type legalization logic for 2011-02-14 06:30:45 +00:00
LegalizeTypesGeneric.cpp
LegalizeVectorOps.cpp
LegalizeVectorTypes.cpp Add a few missed unary cases when legalizing vector results. Put some cases 2011-03-01 15:15:43 +00:00
Makefile
ScheduleDAGFast.cpp
ScheduleDAGList.cpp
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp
ScheduleDAGSDNodes.h
SDNodeDbgValue.h Do not lose debug info of an inlined function argument even if the argument is only used through GEPs. 2011-02-18 22:43:42 +00:00
SDNodeOrdering.h
SelectionDAG.cpp Avoid exponential blow-up when printing DAGs. 2011-03-02 23:38:06 +00:00
SelectionDAGBuilder.cpp Allow targets to specify a the type of the RHS of a shift parameterized on the type of the LHS. 2011-02-25 21:41:48 +00:00
SelectionDAGBuilder.h Revert r124611 - "Keep track of incoming argument's location while emitting LiveIns." 2011-02-21 23:21:26 +00:00
SelectionDAGISel.cpp trailing whitespace. 2011-03-01 01:39:05 +00:00
SelectionDAGPrinter.cpp Pass the graph to the DOTGraphTraits.getEdgeAttributes(). 2011-02-27 04:11:03 +00:00
TargetLowering.cpp Allow targets to specify a the type of the RHS of a shift parameterized on the type of the LHS. 2011-02-25 21:41:48 +00:00
TargetSelectionDAGInfo.cpp