mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
We already have this as OperandNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -689,8 +689,8 @@ EmitResultInstructionAsOperand(const TreePatternNode *N,
|
|||||||
!CGP.getDefaultOperand(OperandNode).DefaultOps.empty()) {
|
!CGP.getDefaultOperand(OperandNode).DefaultOps.empty()) {
|
||||||
// This is a predicate or optional def operand; emit the
|
// This is a predicate or optional def operand; emit the
|
||||||
// 'default ops' operands.
|
// 'default ops' operands.
|
||||||
const DAGDefaultOperand &DefaultOp =
|
const DAGDefaultOperand &DefaultOp
|
||||||
CGP.getDefaultOperand(II.OperandList[InstOpNo].Rec);
|
= CGP.getDefaultOperand(OperandNode);
|
||||||
for (unsigned i = 0, e = DefaultOp.DefaultOps.size(); i != e; ++i)
|
for (unsigned i = 0, e = DefaultOp.DefaultOps.size(); i != e; ++i)
|
||||||
EmitResultOperand(DefaultOp.DefaultOps[i], InstOps);
|
EmitResultOperand(DefaultOp.DefaultOps[i], InstOps);
|
||||||
continue;
|
continue;
|
||||||
@ -908,6 +908,3 @@ Matcher *llvm::ConvertPatternToMatcher(const PatternToMatch &Pattern,
|
|||||||
// Unconditional match.
|
// Unconditional match.
|
||||||
return Gen.GetMatcher();
|
return Gen.GetMatcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user