[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 25 14:02:34 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAG.h updated: 1.64 -> 1.65
---
Log message:

Add a method


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

 SelectionDAG.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.64 llvm/include/llvm/CodeGen/SelectionDAG.h:1.65
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.64	Sat Oct 22 22:40:17 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h	Tue Oct 25 16:02:21 2005
@@ -280,7 +280,10 @@
   void SelectNodeTo(SDNode *N, unsigned TargetOpc, MVT::ValueType VT1,
                     MVT::ValueType VT2, SDOperand Op1, SDOperand Op2,
                     SDOperand Op3);
-  
+
+  SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT) {
+    return getNode(ISD::BUILTIN_OP_END+Opcode, VT);
+  }
   SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT,
                           SDOperand Op1) {
     return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Op1);






More information about the llvm-commits mailing list