[llvm-commits] CVS: llvm/lib/Target/TargetSelectionDAG.td

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 28 22:26:21 PST 2006



Changes in directory llvm/lib/Target:

TargetSelectionDAG.td updated: 1.44 -> 1.45
---
Log message:

Targets all now request ConstantFP to be legalized into TargetConstantFP.
'fpimm' in .td files is now TargetConstantFP.



---
Diffs of the changes:  (+2 -1)

 TargetSelectionDAG.td |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.44 llvm/lib/Target/TargetSelectionDAG.td:1.45
--- llvm/lib/Target/TargetSelectionDAG.td:1.44	Fri Jan 13 21:14:10 2006
+++ llvm/lib/Target/TargetSelectionDAG.td	Sun Jan 29 00:26:07 2006
@@ -194,7 +194,8 @@
 def srcvalue;
 
 def imm        : SDNode<"ISD::Constant"  , SDTIntLeaf , [], "ConstantSDNode">;
-def fpimm      : SDNode<"ISD::ConstantFP", SDTFPLeaf  , [], "ConstantFPSDNode">;
+def fpimm      : SDNode<"ISD::TargetConstantFP",
+                         SDTFPLeaf, [], "ConstantFPSDNode">;
 def vt         : SDNode<"ISD::VALUETYPE" , SDTOther   , [], "VTSDNode">;
 def bb         : SDNode<"ISD::BasicBlock", SDTOther   , [], "BasicBlockSDNode">;
 def cond       : SDNode<"ISD::CONDCODE"  , SDTOther   , [], "CondCodeSDNode">;






More information about the llvm-commits mailing list