mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
add anew method
llvm-svn: 22957
This commit is contained in:
parent
7a04eff613
commit
8927bf468d
@ -1832,6 +1832,16 @@ void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
N->setValueTypes(VT);
|
||||
N->setOperands(Op1, Op2, Op3);
|
||||
}
|
||||
void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT1,
|
||||
MVT::ValueType VT2,
|
||||
unsigned TargetOpc, SDOperand Op1,
|
||||
SDOperand Op2, SDOperand Op3) {
|
||||
RemoveNodeFromCSEMaps(N);
|
||||
N->MorphNodeTo(ISD::BUILTIN_OP_END+TargetOpc);
|
||||
N->setValueTypes(VT1, VT2);
|
||||
N->setOperands(Op1, Op2, Op3);
|
||||
}
|
||||
|
||||
void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
unsigned TargetOpc, SDOperand Op1,
|
||||
SDOperand Op2, SDOperand Op3, SDOperand Op4) {
|
||||
|
Loading…
Reference in New Issue
Block a user