summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/frameless.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb2/frameless.ll')
-rw-r--r--test/CodeGen/Thumb2/frameless.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb2/frameless.ll b/test/CodeGen/Thumb2/frameless.ll
new file mode 100644
index 0000000000000..c3c8cf1dd141f
--- /dev/null
+++ b/test/CodeGen/Thumb2/frameless.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin -disable-fp-elim | not grep mov
+; RUN: llc < %s -mtriple=thumbv7-linux -disable-fp-elim | not grep mov
+
+define arm_apcscc void @t() nounwind readnone {
+ ret void
+}