From ab1b6c83adf459d78bee1e87e235f4fdf8d4d106 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 7 Nov 2012 18:38:24 +0000 Subject: [PATCH] Fix bad test IR in switch_to_lookup_table.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167543 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/SimplifyCFG/switch_to_lookup_table.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll b/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll index d358350554a..0f5eb6a135d 100644 --- a/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll +++ b/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll @@ -770,7 +770,7 @@ sw.bb3: br label %return sw.default: unreachable return: - %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [ 1, %sw.bb1 ], [ 0, %sw.bb ] + %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [ 0, %sw.bb ] ret i32 %retval.0 ; CHECK: @unreachable