summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/arm-modifier.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-05-24 23:27:13 +0000
committerEric Christopher <echristo@apple.com>2011-05-24 23:27:13 +0000
commit1b724948e95648c2d8d68bffccb8e4d1a748086d (patch)
treecab12e6a5d21ceb97e7f39d37358fe2de1062f7e /llvm/test/CodeGen/ARM/arm-modifier.ll
parentb1dda56ac28c14fbefa328090350b797b0c7a050 (diff)
downloadbcm5719-llvm-1b724948e95648c2d8d68bffccb8e4d1a748086d.tar.gz
bcm5719-llvm-1b724948e95648c2d8d68bffccb8e4d1a748086d.zip
Implement the arm 'L' asm modifier.
Part of rdar://9119939 llvm-svn: 132024
Diffstat (limited to 'llvm/test/CodeGen/ARM/arm-modifier.ll')
-rw-r--r--llvm/test/CodeGen/ARM/arm-modifier.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/arm-modifier.ll b/llvm/test/CodeGen/ARM/arm-modifier.ll
index 6b0da44ed55..91629a9ab24 100644
--- a/llvm/test/CodeGen/ARM/arm-modifier.ll
+++ b/llvm/test/CodeGen/ARM/arm-modifier.ll
@@ -21,3 +21,11 @@ entry:
call void asm sideeffect ".word ${0:B} \0A\09", "i"(i32 0) nounwind, !srcloc !0
ret void
}
+
+define void @f1() nounwind ssp {
+entry:
+; CHECK: f1
+; CHECK: .word 65535
+call void asm sideeffect ".word ${0:L} \0A\09", "i"(i32 -1) nounwind, !srcloc !0
+ret void
+}
OpenPOWER on IntegriCloud