From 23ab896c131f98764e32818dc148b464b2010232 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 15 Apr 2010 04:30:19 +0000 Subject: [PATCH] remove undef control flow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101340 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../CodeGen/X86/2009-05-28-DAGCombineCrash.ll | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll b/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll index 2fd42f40d89..ee4ccfb7b35 100644 --- a/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll +++ b/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll @@ -4,21 +4,9 @@ define fastcc signext i8 @S_next_symbol(%struct.tempsym_t* %symptr) nounwind ssp { entry: - br label %bb116 - -bb: ; preds = %bb116 - switch i8 undef, label %bb14 [ - i8 9, label %bb116 - i8 32, label %bb116 - i8 10, label %bb116 - i8 13, label %bb116 - i8 12, label %bb116 - ] + br label %bb14 bb14: ; preds = %bb - br i1 undef, label %bb75, label %bb115 - -bb75: ; preds = %bb14 %srcval16 = load i448* null, align 8 ; [#uses=1] %tmp = zext i32 undef to i448 ; [#uses=1] %tmp15 = shl i448 %tmp, 288 ; [#uses=1] @@ -26,13 +14,4 @@ bb75: ; preds = %bb14 %ins = or i448 %tmp15, %mask ; [#uses=1] store i448 %ins, i448* null, align 8 ret i8 1 - -bb115: ; preds = %bb14 - ret i8 1 - -bb116: ; preds = %bb, %bb, %bb, %bb, %bb, %entry - br i1 undef, label %bb, label %bb117 - -bb117: ; preds = %bb116 - ret i8 0 } -- 2.34.1