diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index c609ee6174db..6884e0001c8c 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -288,7 +288,7 @@ def pred : PredicateOperand { +def ccop : PredicateOperand { let PrintMethod = "printPredicateOperand"; } diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index 4ffde0a97faa..fe189784009f 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td @@ -272,8 +272,8 @@ def memrix : Operand { // memri where the imm is shifted 2 bits. // PowerPC Predicate operand. 20 = (0<<5)|20 = always, CR0 is a dummy reg // that doesn't matter. -def pred : ImmutablePredicateOperand { +def pred : PredicateOperand { let PrintMethod = "printPredicateOperand"; }