summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2
diff options
context:
space:
mode:
authorDanil Malyshev <dmalyshev@accesssoftek.com>2012-05-09 19:07:04 +0000
committerDanil Malyshev <dmalyshev@accesssoftek.com>2012-05-09 19:07:04 +0000
commitfd39afb5e14374d48f072a00a211225641b90667 (patch)
treedeed446b5cbc1014d8b1ae2f212c4d4adbb4f222 /test/CodeGen/Thumb2
parentd9b41b339d3a8b35fac73e63ad665140b5bc7bdc (diff)
downloadllvm-fd39afb5e14374d48f072a00a211225641b90667.tar.gz
llvm-fd39afb5e14374d48f072a00a211225641b90667.tar.bz2
llvm-fd39afb5e14374d48f072a00a211225641b90667.tar.xz
Added a regress test for the bug #9964 before close it.
This bug was fixed by Jim Grosbach in #138879, thanks Jim! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r--test/CodeGen/Thumb2/inlineasm.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb2/inlineasm.ll b/test/CodeGen/Thumb2/inlineasm.ll
new file mode 100644
index 0000000000..30f28f8f0d
--- /dev/null
+++ b/test/CodeGen/Thumb2/inlineasm.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -filetype=obj
+
+target triple = "thumbv7-none--eabi"
+
+define void @t1() nounwind {
+entry:
+ call void asm sideeffect "mov r0, r1", ""() nounwind
+ ret void
+}