summaryrefslogtreecommitdiff
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 00000000000..6cc4dd12f6a
--- /dev/null
+++ b/test/CodeGen/Thumb/frame_thumb.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -mtriple=thumb-apple-darwin \
+; RUN: -disable-fp-elim | not grep "r11"
+; RUN: llc < %s -mtriple=thumb-linux-gnueabi \
+; RUN: -disable-fp-elim | not grep "r11"
+
+define i32 @f() {
+entry:
+ ret i32 10
+}