summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/inlineasm.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb2/inlineasm.ll')
-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 0000000..30f28f8
--- /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
+}
OpenPOWER on IntegriCloud