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 f84918b099345f85dfa4b7d9c6c39e94e6e5bc3a..e41da85cf3aef612619f94349888be8b034ce4e6 100644 (file)
@@ -363,6 +363,15 @@ public:
                           std::vector<SDOperand> &Ops) {
     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;