[llvm-commits] [llvm] r86019 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Evan Cheng evan.cheng at apple.com
Tue Nov 3 23:38:48 PST 2009


Author: evancheng
Date: Wed Nov  4 01:38:48 2009
New Revision: 86019

URL: http://llvm.org/viewvc/llvm-project?rev=86019&view=rev
Log:
The .n suffix must go after the predicate.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=86019&r1=86018&r2=86019&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Wed Nov  4 01:38:48 2009
@@ -329,7 +329,7 @@
 // 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.





More information about the llvm-commits mailing list