In 64-bit mode, addr mode operands use G8RC instead of GPRC.
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jun 2006 21:29:03 +0000 (21:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jun 2006 21:29:03 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28840 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index 5b151ab26a0ba43a3d394d60962dc7880795f9f6..5b9502152dc6563e4ad445e38bd9030b3512fef0 100644 (file)
@@ -205,17 +205,17 @@ def crbitm: Operand<i8> {
 def memri : Operand<iPTR> {
   let PrintMethod = "printMemRegImm";
   let NumMIOperands = 2;
-  let MIOperandInfo = (ops i32imm, GPRC);
+  let MIOperandInfo = (ops i32imm, ptr_rc);
 }
 def memrr : Operand<iPTR> {
   let PrintMethod = "printMemRegReg";
   let NumMIOperands = 2;
-  let MIOperandInfo = (ops GPRC, GPRC);
+  let MIOperandInfo = (ops ptr_rc, ptr_rc);
 }
 def memrix : Operand<iPTR> {   // 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.