Predicate encoding should be withing {}s.
authorBill Wendling <isanbard@gmail.com>
Tue, 30 Nov 2010 00:05:25 +0000 (00:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 30 Nov 2010 00:05:25 +0000 (00:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120360 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb.td

index 4c94f60e222765f0ed1f99b4a80c8b60be621da3..9ae8a2bd971a792e1d48a7ff202870421f1106b7 100644 (file)
@@ -1243,13 +1243,13 @@ def tMOVCCi : T1pIt<(outs tGPR:$dst), (ins tGPR:$lhs, i32imm:$rhs), IIC_iCMOVi,
 let neverHasSideEffects = 1 in {
 let isReMaterializable = 1 in
 def tLEApcrel : T1I<(outs tGPR:$dst), (ins i32imm:$label, pred:$p), IIC_iALUi,
-                    "adr$p\t$dst, #$label", []>,
+                    "adr${p}\t$dst, #$label", []>,
                 T1Encoding<{1,0,1,0,0,?}>; // A6.2 & A8.6.10
 
 } // neverHasSideEffects
 def tLEApcrelJT : T1I<(outs tGPR:$dst),
                       (ins i32imm:$label, nohash_imm:$id, pred:$p),
-                      IIC_iALUi, "adr$p\t$dst, #${label}_${id}", []>,
+                      IIC_iALUi, "adr${p}\t$dst, #${label}_${id}", []>,
                   T1Encoding<{1,0,1,0,0,?}>; // A6.2 & A8.6.10
 
 //===----------------------------------------------------------------------===//