diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-01-30 07:47:47 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-01-30 07:47:47 +0000 |
| commit | ef67da1bc5b959488fa8f45963e2ef2524d59276 (patch) | |
| tree | acf7b38b3ca17c8d0b9e7d8001bb6d119bee59b0 /llvm | |
| parent | 37faeb2b02d5457625b0c45dbc0686f56ea95752 (diff) | |
| download | bcm5719-llvm-ef67da1bc5b959488fa8f45963e2ef2524d59276.tar.gz bcm5719-llvm-ef67da1bc5b959488fa8f45963e2ef2524d59276.zip | |
One more getTargetNode() variant shouldn't hurt...
llvm-svn: 25816
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAG.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 5c954609ebd..195e8e435b0 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -484,6 +484,22 @@ public: 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; |

