summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
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
commit4db7dec70b06a1d50a265c3666e126065e09f396 (patch)
tree42f8ef32c67b6f911311e96f249a5409278aa650 /test/CodeGen/ARM
parente1739d598d2c980822cc42bbf9821b91ebbc829f (diff)
downloadllvm-4db7dec70b06a1d50a265c3666e126065e09f396.tar.gz
llvm-4db7dec70b06a1d50a265c3666e126065e09f396.tar.bz2
llvm-4db7dec70b06a1d50a265c3666e126065e09f396.tar.xz
Implement the arm 'L' asm modifier.
Part of rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/arm-modifier.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arm-modifier.ll b/test/CodeGen/ARM/arm-modifier.ll
index 6b0da44ed5..91629a9ab2 100644
--- a/test/CodeGen/ARM/arm-modifier.ll
+++ b/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
+}