Uh. It would be useful to actually print the operand.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 24 Jul 2009 20:47:38 +0000 (20:47 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 24 Jul 2009 20:47:38 +0000 (20:47 +0000)
llvm-svn: 77004

llvm/lib/Target/ARM/ARMInstrThumb2.td

index 548c793819b77e877ef9442630fd76ca93341210..bb36a33e1a10de2db2bf58ddbe592fe4070a51cb 100644 (file)
@@ -443,7 +443,7 @@ multiclass T2I_bin_rrot<string opc, PatFrag opnode> {
 
 let isNotDuplicable = 1 in
 def t2PICADD : T2XI<(outs GPR:$dst), (ins GPR:$lhs, pclabel:$cp),
-                    "$cp:\n\tadd $dst, pc",
+                    "$cp:\n\tadd $dst, $lhs, pc",
                     [(set GPR:$dst, (ARMpic_add GPR:$lhs, imm:$cp))]>;