From 1398421ccf060f4894d5ff8fe913bc6a5493dc33 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Jun 2006 18:24:32 +0000 Subject: [PATCH] New testcase that crashes llc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28754 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll 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 00000000000..c7cd33fe7a7 --- /dev/null +++ b/test/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 +} +