Add a note, this code should be moved to the dag combiner.

llvm-svn: 26787
This commit is contained in:
Chris Lattner 2006-03-15 22:19:18 +00:00
parent d348f5be2c
commit cad70c3e46
1 changed files with 1 additions and 0 deletions

View File

@ -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);