Added a regress test for the bug #9964 before close it.
authorDanil Malyshev <dmalyshev@accesssoftek.com>
Wed, 9 May 2012 19:07:04 +0000 (19:07 +0000)
committerDanil Malyshev <dmalyshev@accesssoftek.com>
Wed, 9 May 2012 19:07:04 +0000 (19:07 +0000)
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

test/CodeGen/Thumb2/inlineasm.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Thumb2/inlineasm.ll b/test/CodeGen/Thumb2/inlineasm.ll
new file mode 100644 (file)
index 0000000..30f28f8
--- /dev/null
@@ -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
+}