diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 5b151ab26a0..5b9502152dc 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -205,17 +205,17 @@ def crbitm: Operand { def memri : Operand { let PrintMethod = "printMemRegImm"; let NumMIOperands = 2; - let MIOperandInfo = (ops i32imm, GPRC); + let MIOperandInfo = (ops i32imm, ptr_rc); } def memrr : Operand { let PrintMethod = "printMemRegReg"; let NumMIOperands = 2; - let MIOperandInfo = (ops GPRC, GPRC); + let MIOperandInfo = (ops ptr_rc, ptr_rc); } def memrix : Operand { // memri where the imm is shifted 2 bits. let PrintMethod = "printMemRegImmShifted"; let NumMIOperands = 2; - let MIOperandInfo = (ops i32imm, GPRC); + let MIOperandInfo = (ops i32imm, ptr_rc); } // Define PowerPC specific addressing mode.