mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Fix testcase to accurately expose bug
llvm-svn: 3890
This commit is contained in:
parent
dea32da482
commit
26a4bbb2f6
@ -5,17 +5,21 @@ implementation
|
||||
declare void %foo(int)
|
||||
|
||||
void %test(int %A, bool %C) {
|
||||
br bool %C, label %bb3, label %bb1
|
||||
br bool %C, label %bb0, label %bb1
|
||||
bb0:
|
||||
br label %bb3
|
||||
Unreachable:
|
||||
br label %bb2
|
||||
bb1: ;[#uses=0]
|
||||
%cond212 = setgt int %A, 9 ; <bool> [#uses=1]
|
||||
br bool %cond212, label %bb2, label %bb3
|
||||
br bool %cond212, label %bb2, label %bb7
|
||||
|
||||
bb2: ;[#uses=1]
|
||||
%cond = setgt int %A, 7
|
||||
br bool %cond, label %bb3, label %bb7
|
||||
|
||||
bb3: ;[#uses=1]
|
||||
%X = phi int [ 0, %0], [ 12, %bb1]
|
||||
%X = phi int [ 0, %bb0], [ 12, %bb2]
|
||||
call void %foo( int %X )
|
||||
br label %bb7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user