aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll')
-rw-r--r--test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll b/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll
new file mode 100644
index 0000000000..a3720a9e3c
--- /dev/null
+++ b/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -O0
+
+define float @test(i32 %tmp12771278) {
+ switch i32 %tmp12771278, label %bb1279 [
+ ]
+
+bb1279: ; preds = %0
+ ret float 1.000000e+00
+}
+