summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll')
-rw-r--r--test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll b/test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll
new file mode 100644
index 0000000..a46482c
--- /dev/null
+++ b/test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -march=arm
+; PR4716
+
+define arm_aapcscc void @_start() nounwind naked {
+entry:
+ tail call arm_aapcscc void @exit(i32 undef) noreturn nounwind
+ unreachable
+}
+
+declare arm_aapcscc void @exit(i32) noreturn nounwind
OpenPOWER on IntegriCloud