diff --git a/llvm/test/Regression/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll b/llvm/test/Regression/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll new file mode 100644 index 000000000000..c7cd33fe7a7d --- /dev/null +++ b/llvm/test/Regression/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc -fast + +float %test(uint %tmp12771278) { + switch uint %tmp12771278, label %bb1279 [ + ] + +bb1279: ; preds = %cond_next1272 + ret float 1.0 +} +