[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
Chris Lattner
lattner at persephone.cs.uiuc.edu
Mon Nov 22 21:54:25 PST 2004
Changes in directory llvm/lib/Target/PowerPC:
PowerPCInstrInfo.td updated: 1.43 -> 1.44
---
Log message:
LA is really addi. Be consistent with operand ordering to avoid confusing the code emitter
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.43 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.44
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.43 Mon Nov 22 17:07:01 2004
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td Mon Nov 22 23:54:08 2004
@@ -113,7 +113,7 @@
"addic. $rD, $rA, $imm">;
def ADDIS : DForm_2<15, 0, 0, (ops GPRC:$rD, GPRC:$rA, s16imm:$imm),
"addis $rD, $rA, $imm">;
-def LA : DForm_2<14, 0, 0, (ops GPRC:$rD, symbolLo:$sym, GPRC:$rA),
+def LA : DForm_2<14, 0, 0, (ops GPRC:$rD, GPRC:$rA, symbolLo:$sym),
"la $rD, $sym($rA)">;
def LOADHiAddr : DForm_2<15, 0, 0, (ops GPRC:$rD, GPRC:$rA, symbolHi:$sym),
"addis $rD, $rA, $sym">;
More information about the llvm-commits
mailing list