projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3075a4e
)
Add a method
author
Chris Lattner
<sabre@nondot.org>
Tue, 25 Oct 2005 21:02:21 +0000
(21:02 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 25 Oct 2005 21:02:21 +0000
(21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23989
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAG.h
b/include/llvm/CodeGen/SelectionDAG.h
index 8750cdee1a9c95d25f97bd5e5017ce9a89f884c4..d818f8ec1d3aef354582fd9ad967305de6c5b6f8 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAG.h
+++ b/
include/llvm/CodeGen/SelectionDAG.h
@@
-280,7
+280,10
@@
public:
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);