The .n suffix must go after the predicate.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 4 Nov 2009 07:38:48 +0000 (07:38 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 4 Nov 2009 07:38:48 +0000 (07:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86019 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb.td

index ba68f8fabf41f77da67bfde5252d25bcec9a8fcd..5d0292593ba1349fcabffbc7d95696865a4f20a7 100644 (file)
@@ -329,7 +329,7 @@ def tRestore : T1pIs<(outs tGPR:$dst), (ins t_addrmode_sp:$addr), IIC_iLoadi,
 // FIXME: Use ldr.n to work around a Darwin assembler bug.
 let canFoldAsLoad = 1 in
 def tLDRpci : T1pIs<(outs tGPR:$dst), (ins i32imm:$addr), IIC_iLoadi,
-                  "ldr.n", "\t$dst, $addr",
+                  "ldr", ".n\t$dst, $addr",
                   [(set tGPR:$dst, (load (ARMWrapper tconstpool:$addr)))]>;
 
 // Special LDR for loads from non-pc-relative constpools.