The .n suffix must go after the predicate.

llvm-svn: 86019
This commit is contained in:
Evan Cheng 2009-11-04 07:38:48 +00:00
parent 4c98fd8953
commit c63943018f
1 changed files with 1 additions and 1 deletions

View 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.