llvm-6502/lib/CodeGen/SelectionDAG
Dan Gohman 23ff1826b9 Teach GetNegatedExpression to negate 0-B to B in UnsafeFPMath mode, and
visitFSUB to fold 0-B to -B in UnsafeFPMath mode. Also change visitFNEG
to use isNegatibleForFree/GetNegatedExpression instead of doing a subset
of the same thing manually.

This fixes test/CodeGen/X86/negative-sin.ll.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37842 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-02 15:48:56 +00:00
..
CallingConvLower.cpp add isVarArg to CCState 2007-06-19 00:11:09 +00:00
DAGCombiner.cpp Teach GetNegatedExpression to negate 0-B to B in UnsafeFPMath mode, and 2007-07-02 15:48:56 +00:00
LegalizeDAG.cpp Fix an assertion failure in legalizing bitcast operators on targets where 2007-06-29 00:09:08 +00:00
Makefile For PR780: 2006-07-26 16:18:00 +00:00
ScheduleDAG.cpp Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration 2007-06-19 14:13:56 +00:00
ScheduleDAGList.cpp switch the sched unit map over to use a DenseMap instead of std::map. This 2007-02-03 01:34:13 +00:00
ScheduleDAGRRList.cpp Remove unused variables. 2007-06-29 21:42:03 +00:00
ScheduleDAGSimple.cpp Removed tabs everywhere except autogenerated & external files. Add make 2007-04-16 18:10:23 +00:00
SelectionDAG.cpp Fix a vector FP constant CSE bug. 2007-06-29 21:36:04 +00:00
SelectionDAGISel.cpp Only do FNEG xform when the vector type is a floating point type. 2007-06-29 21:44:35 +00:00
SelectionDAGPrinter.cpp Make chain dependencies blue, in addition to being dashed. 2007-06-18 15:30:16 +00:00
TargetLowering.cpp Add new TargetLowering code to provide the final register type that an 2007-06-28 23:29:44 +00:00