mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f85ab15acf
commit
6b09a29604
@ -1831,6 +1831,15 @@ void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
N->setValueTypes(VT);
|
||||
N->setOperands(Op1, Op2, Op3, Op4);
|
||||
}
|
||||
void SelectionDAG::SelectNodeTo(SDNode *N, MVT::ValueType VT,
|
||||
unsigned TargetOpc, SDOperand Op1,
|
||||
SDOperand Op2, SDOperand Op3, SDOperand Op4,
|
||||
SDOperand Op5) {
|
||||
RemoveNodeFromCSEMaps(N);
|
||||
N->MorphNodeTo(ISD::BUILTIN_OP_END+TargetOpc);
|
||||
N->setValueTypes(VT);
|
||||
N->setOperands(Op1, Op2, Op3, Op4, Op5);
|
||||
}
|
||||
|
||||
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
|
||||
/// This can cause recursive merging of nodes in the DAG.
|
||||
|
Loading…
x
Reference in New Issue
Block a user