OSDN Git Service

i need to do this to take over the earth
authorDuraid Madina <duraid@octopus.com.au>
Thu, 22 Dec 2005 07:02:51 +0000 (07:02 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Thu, 22 Dec 2005 07:02:51 +0000 (07:02 +0000)
when I take over the earth, sabre will be happy because i'll stop asking
him silly questions!!!!!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24949 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index f84918b..e41da85 100644 (file)
@@ -364,6 +364,15 @@ public:
     return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Ops);
   }
   SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
+                          MVT::ValueType VT2, SDOperand Op1) {
+    std::vector<MVT::ValueType> ResultTys;
+    ResultTys.push_back(VT1);
+    ResultTys.push_back(VT2);
+    std::vector<SDOperand> Ops;
+    Ops.push_back(Op1);
+    return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
+  }
+  SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
                           MVT::ValueType VT2, SDOperand Op1, SDOperand Op2) {
     std::vector<MVT::ValueType> ResultTys;
     ResultTys.push_back(VT1);