summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit47aba3900498c7e997249fca8201dfcf089a624a (patch)
treee283421c9f5b3a9cf6663c2f8865c5581e4f4c96 /llvm/test/CodeGen/Thumb2
parent3a9b6e71404d7e81db0c8dbfbf0d74c1c38cce69 (diff)
downloadbcm5719-llvm-47aba3900498c7e997249fca8201dfcf089a624a.tar.gz
bcm5719-llvm-47aba3900498c7e997249fca8201dfcf089a624a.zip
Added a regress test for the bug #9964 before close it.
This bug was fixed by Jim Grosbach in #138879, thanks Jim! llvm-svn: 156505
Diffstat (limited to 'llvm/test/CodeGen/Thumb2')
-rw-r--r--llvm/test/CodeGen/Thumb2/inlineasm.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Thumb2/inlineasm.ll b/llvm/test/CodeGen/Thumb2/inlineasm.ll
new file mode 100644
index 00000000000..30f28f8f0d5
--- /dev/null
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud