summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-04 07:38:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-04 07:38:48 +0000
commitc63943018feca1668e3128a0131cb586c7b469d6 (patch)
tree44db280d55bbe9a363c5ec34b65571a20679de3c /llvm/lib
parent4c98fd8953f7d7a8f3a31f49630c28c5ca55b9f4 (diff)
downloadbcm5719-llvm-c63943018feca1668e3128a0131cb586c7b469d6.tar.gz
bcm5719-llvm-c63943018feca1668e3128a0131cb586c7b469d6.zip
The .n suffix must go after the predicate.
llvm-svn: 86019
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index ba68f8fabf4..5d0292593ba 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb.td
@@ -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.
OpenPOWER on IntegriCloud