Fix bad test IR in switch_to_lookup_table.ll

llvm-svn: 167543
This commit is contained in:
Hans Wennborg 2012-11-07 18:38:24 +00:00
parent 44340f40d7
commit 7dd7657cec

View File

@ -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