[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h
Evan Cheng
evan.cheng at apple.com
Sun Jan 29 23:47:58 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.93 -> 1.94
---
Log message:
One more getTargetNode() variant shouldn't hurt...
---
Diffs of the changes: (+16 -0)
SelectionDAG.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.93 llvm/include/llvm/CodeGen/SelectionDAG.h:1.94
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.93 Sun Jan 29 00:24:40 2006
+++ llvm/include/llvm/CodeGen/SelectionDAG.h Mon Jan 30 01:47:47 2006
@@ -484,6 +484,22 @@
SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
MVT::ValueType VT2, MVT::ValueType VT3,
SDOperand Op1, SDOperand Op2,
+ SDOperand Op3, SDOperand Op4, SDOperand Op5) {
+ std::vector<MVT::ValueType> ResultTys;
+ ResultTys.push_back(VT1);
+ ResultTys.push_back(VT2);
+ ResultTys.push_back(VT3);
+ std::vector<SDOperand> Ops;
+ Ops.push_back(Op1);
+ Ops.push_back(Op2);
+ Ops.push_back(Op3);
+ Ops.push_back(Op4);
+ Ops.push_back(Op5);
+ return getNode(ISD::BUILTIN_OP_END+Opcode, ResultTys, Ops);
+ }
+ SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT1,
+ MVT::ValueType VT2, MVT::ValueType VT3,
+ SDOperand Op1, SDOperand Op2,
SDOperand Op3, SDOperand Op4, SDOperand Op5,
SDOperand Op6) {
std::vector<MVT::ValueType> ResultTys;
More information about the llvm-commits
mailing list