aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb/push.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb/push.ll')
-rw-r--r--test/CodeGen/Thumb/push.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb/push.ll b/test/CodeGen/Thumb/push.ll
new file mode 100644
index 000000000000..63773c4f6c9f
--- /dev/null
+++ b/test/CodeGen/Thumb/push.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -mtriple=thumb-apple-darwin -disable-fp-elim | FileCheck %s
+; rdar://7268481
+
+define arm_apcscc void @t() nounwind {
+; CHECK: t:
+; CHECK-NEXT : push {r7}
+entry:
+ call void asm sideeffect ".long 0xe7ffdefe", ""() nounwind
+ ret void
+}