mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c3aea74ae5
commit
99baddaf57
@ -1815,6 +1815,15 @@ void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
N->setValueTypes(VT);
|
||||
N->setOperands(Op1, Op2);
|
||||
}
|
||||
void SelectionDAG::SelectNodeTo(SDNode *N,
|
||||
MVT::ValueType VT1, MVT::ValueType VT2,
|
||||
unsigned TargetOpc, SDOperand Op1,
|
||||
SDOperand Op2) {
|
||||
RemoveNodeFromCSEMaps(N);
|
||||
N->MorphNodeTo(ISD::BUILTIN_OP_END+TargetOpc);
|
||||
N->setValueTypes(VT1, VT2);
|
||||
N->setOperands(Op1, Op2);
|
||||
}
|
||||
void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
unsigned TargetOpc, SDOperand Op1,
|
||||
SDOperand Op2, SDOperand Op3) {
|
||||
|
Loading…
Reference in New Issue
Block a user