aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb/frame_thumb.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb/frame_thumb.ll')
-rw-r--r--test/CodeGen/Thumb/frame_thumb.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb/frame_thumb.ll b/test/CodeGen/Thumb/frame_thumb.ll
new file mode 100644
index 0000000..270e331
--- /dev/null
+++ b/test/CodeGen/Thumb/frame_thumb.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -mtriple=thumb-apple-darwin \
+; RUN: -disable-fp-elim | not grep {r11}
+; RUN: llvm-as < %s | llc -mtriple=thumb-linux-gnueabi \
+; RUN: -disable-fp-elim | not grep {r11}
+
+define i32 @f() {
+entry:
+ ret i32 10
+}