projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed32f6
)
Add a note, this code should be moved to the dag combiner.
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Mar 2006 22:19:18 +0000
(22:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 15 Mar 2006 22:19:18 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26787
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index a6d74c85e7cde84d615592f2895b24516b5352c5..aeac2622d8a17df80ffa471372e9a12fec52ae6e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-1260,6
+1260,7
@@
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
// 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);