[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 15 14:19:30 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.314 -> 1.315
---
Log message:
Add a note, this code should be moved to the dag combiner.
---
Diffs of the changes: (+1 -0)
LegalizeDAG.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.314 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.315
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.314 Mon Mar 13 00:08:38 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Mar 15 16:19:18 2006
@@ -1260,6 +1260,7 @@
// Turn 'store float 1.0, Ptr' -> 'store int 0x12345678, Ptr'
// FIXME: We shouldn't do this for TargetConstantFP's.
+ // FIXME: move this to the DAG Combiner!
if (ConstantFPSDNode *CFP =dyn_cast<ConstantFPSDNode>(Node->getOperand(1))){
if (CFP->getValueType(0) == MVT::f32) {
Tmp3 = DAG.getConstant(FloatToBits(CFP->getValue()), MVT::i32);
More information about the llvm-commits
mailing list