llvm-6502/lib/CodeGen/SelectionDAG
Dan Gohman 77003040b2 Don't lower srem/urem X%C to X-X/C*C unless the division is actually
optimized. This avoids creating illegal divisions when the combiner is
running after legalize; this fixes PR1815. Also, it produces better
code in the included testcase by avoiding the subtract and multiply
when the division isn't optimized.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44341 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-26 23:46:11 +00:00
..
CallingConvLower.cpp propagate struct size and alignment of byval arguments to the DAG 2007-08-10 14:44:42 +00:00
DAGCombiner.cpp Don't lower srem/urem X%C to X-X/C*C unless the division is actually 2007-11-26 23:46:11 +00:00
LegalizeDAG.cpp Implement expand support for MERGE_VALUEs that only produces one result. 2007-11-24 19:12:15 +00:00
LegalizeDAGTypes.cpp Implement support for custom legalization in DAGTypeLegalizer::ExpandOperand. 2007-11-24 18:11:42 +00:00
Makefile For PR780: 2006-07-26 16:18:00 +00:00
ScheduleDAG.cpp Make labels work in asm blocks; allow labels as 2007-11-05 21:20:28 +00:00
ScheduleDAGList.cpp Make CalcLatency() non-recursive. 2007-10-15 21:33:22 +00:00
ScheduleDAGRRList.cpp Bug fix. Passive nodes are not in SUnitMap. 2007-11-09 01:27:11 +00:00
SelectionDAG.cpp Implement necessary bits for flt_rounds gcc builtin. 2007-11-15 23:25:33 +00:00
SelectionDAGISel.cpp Several changes: 2007-11-24 07:07:01 +00:00
SelectionDAGPrinter.cpp Add a (disabled by default) way to view the ID of a node. 2007-10-15 05:32:43 +00:00
TargetLowering.cpp Much improved pic jumptable codegen: 2007-11-09 01:32:10 +00:00