llvm-6502/lib/CodeGen/SelectionDAG
Dan Gohman 102f3851bb Eliminate the first have of the optimization which eliminates BRCOND
when the condition is constant. This optimization shouldn't be
necessary, because codegen shouldn't be able to find dead control
paths that the IR-level optimizer can't find. And it's undesirable,
because it encourages bugpoint to leave "br i1 false" branches
in its output. And it wasn't updating the CFG.

I updated all the tests I could, but some tests are too reduced
and I wasn't able to meaningfully preserve them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106748 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-24 15:04:11 +00:00
..
CallingConvLower.cpp Change errs() to dbgs(). 2010-01-05 01:24:50 +00:00
CMakeLists.txt Create a new TargetSelectionDAGInfo class. This will eventually acquire 2010-04-16 21:12:11 +00:00
DAGCombiner.cpp Reapply r106634, now that the bug it exposed is fixed. 2010-06-24 14:30:44 +00:00
FastISel.cpp Do one lookup instead of two. 2010-06-21 14:21:47 +00:00
FunctionLoweringInfo.cpp SelectionDAG shouldn't have a FunctionLoweringInfo member. RegsForValue 2010-05-29 17:03:36 +00:00
FunctionLoweringInfo.h SelectionDAG shouldn't have a FunctionLoweringInfo member. RegsForValue 2010-05-29 17:03:36 +00:00
InstrEmitter.cpp Teach regular and fast isel to set dead flags on unused implicit defs 2010-06-18 23:28:01 +00:00
InstrEmitter.h Don't set kill flags for instructions which the scheduler has cloned. 2010-05-14 22:01:14 +00:00
LegalizeDAG.cpp back-end libcall handling for ATOMIC_SWAP (__sync_lock_test_and_set) 2010-06-18 23:03:10 +00:00
LegalizeFloatTypes.cpp Change UpdateNodeOperands' operand and return value from SDValue to 2010-06-18 15:30:29 +00:00
LegalizeIntegerTypes.cpp Change UpdateNodeOperands' operand and return value from SDValue to 2010-06-18 15:30:29 +00:00
LegalizeTypes.cpp Use A.append(...) instead of A.insert(A.end(), ...) when A is a 2010-06-21 19:47:52 +00:00
LegalizeTypes.h Implement expansion in type legalization for add/sub with overflow. The 2010-06-03 03:49:50 +00:00
LegalizeTypesGeneric.cpp More 80 violations. 2010-04-15 01:25:27 +00:00
LegalizeVectorOps.cpp Change UpdateNodeOperands' operand and return value from SDValue to 2010-06-18 15:30:29 +00:00
LegalizeVectorTypes.cpp Change UpdateNodeOperands' operand and return value from SDValue to 2010-06-18 15:30:29 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
ScheduleDAGFast.cpp Trim unneeded includes. 2010-01-21 21:44:43 +00:00
ScheduleDAGList.cpp Trim #include. 2010-05-26 00:55:59 +00:00
ScheduleDAGRRList.cpp Use llvm::next' instead of next' to make VC++ 2010 happy. 2010-05-30 13:14:21 +00:00
ScheduleDAGSDNodes.cpp MorphNodeTo doesn't preserve the memory operands. Because we're morphing a node 2010-06-23 18:16:24 +00:00
ScheduleDAGSDNodes.h Code refactoring, no functionality changes. 2010-06-10 02:09:31 +00:00
SDNodeDbgValue.h Add const qualifiers to CodeGen's use of LLVM IR constructs. 2010-04-15 01:51:59 +00:00
SDNodeOrdering.h Allow 0 as an order number. Don't assign an order to formal arguments. 2009-12-22 21:35:02 +00:00
SelectionDAG.cpp Eliminate the first have of the optimization which eliminates BRCOND 2010-06-24 15:04:11 +00:00
SelectionDAGBuilder.cpp Optimize the "bit test" code path for switch lowering in the 2010-06-24 02:06:24 +00:00
SelectionDAGBuilder.h Revert r106422, which is breaking the non-fast-isel path. 2010-06-21 16:02:28 +00:00
SelectionDAGISel.cpp Reapply r106634, now that the bug it exposed is fixed. 2010-06-24 14:30:44 +00:00
SelectionDAGPrinter.cpp Change errs() to dbgs(). 2010-01-05 01:24:45 +00:00
TargetLowering.cpp Reapply r106634, now that the bug it exposed is fixed. 2010-06-24 14:30:44 +00:00
TargetSelectionDAGInfo.cpp Implement a bunch more TargetSelectionDAGInfo infrastructure. 2010-05-11 17:31:57 +00:00