diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-01-05 02:07:49 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-01-05 02:07:49 +0000 |
| commit | e0d1b65d24edba2d73f557bdf8d78c9625b29e9f (patch) | |
| tree | f329b037374f132218c6a987e574d48a328ae881 /llvm/lib | |
| parent | a1026371b5fc763e8c6847566fae2731f3ad36ea (diff) | |
| download | bcm5719-llvm-e0d1b65d24edba2d73f557bdf8d78c9625b29e9f.tar.gz bcm5719-llvm-e0d1b65d24edba2d73f557bdf8d78c9625b29e9f.zip | |
Added fpimm node for ConstantFP.
llvm-svn: 25107
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/TargetSelectionDAG.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetSelectionDAG.td b/llvm/lib/Target/TargetSelectionDAG.td index 9b19adac3bf..bbc549f8925 100644 --- a/llvm/lib/Target/TargetSelectionDAG.td +++ b/llvm/lib/Target/TargetSelectionDAG.td @@ -70,6 +70,7 @@ class SDTypeProfile<int numresults, int numoperands, // Builtin profiles. def SDTIntLeaf: SDTypeProfile<1, 0, [SDTCisInt<0>]>; // for 'imm'. +def SDTFPLeaf : SDTypeProfile<1, 0, [SDTCisFP<0>]>; // for 'fpimm'. def SDTPtrLeaf: SDTypeProfile<1, 0, [SDTCisPtrTy<0>]>; // for '&g'. def SDTOther : SDTypeProfile<1, 0, [SDTCisVT<0, OtherVT>]>; // for 'vt'. def SDTUNDEF : SDTypeProfile<1, 0, []>; // for 'undef'. @@ -190,6 +191,7 @@ def node; def srcvalue; def imm : SDNode<"ISD::Constant" , SDTIntLeaf , [], "ConstantSDNode">; +def fpimm : SDNode<"ISD::ConstantFP", SDTFPLeaf , [], "ConstantFPSDNode">; def vt : SDNode<"ISD::VALUETYPE" , SDTOther , [], "VTSDNode">; def bb : SDNode<"ISD::BasicBlock", SDTOther , [], "BasicBlockSDNode">; def cond : SDNode<"ISD::CONDCODE" , SDTOther , [], "CondCodeSDNode">; |

