[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h
Duraid Madina
duraid at octopus.com.au
Wed Dec 21 23:03:03 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.80 -> 1.81
---
Log message:
i need to do this to take over the earth
when I take over the earth, sabre will be happy because i'll stop asking
him silly questions!!!!!!
---
Diffs of the changes: (+9 -0)
SelectionDAG.h | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.80 llvm/include/llvm/CodeGen/SelectionDAG.h:1.81
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.80 Sun Dec 18 15:00:53 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h Thu Dec 22 01:02:51 2005
@@ -364,6 +364,15 @@
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);
More information about the llvm-commits
mailing list