mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Make the test a bit harder so that we test to ensure that _both_ instructions
are sunk llvm-svn: 10343
This commit is contained in:
parent
f5f65c4000
commit
e9a90cba95
@ -10,9 +10,10 @@ Entry:
|
||||
Loop:
|
||||
%N_addr.0.pn = phi int [ %dec, %Loop ], [ %N, %Entry ]
|
||||
%tmp.6 = mul int %N, %N_addr.0.pn
|
||||
%tmp.7 = sub int %tmp.6, %N
|
||||
%dec = add int %N_addr.0.pn, -1
|
||||
%tmp.1 = setne int %N_addr.0.pn, 1
|
||||
br bool %tmp.1, label %Loop, label %Out
|
||||
Out:
|
||||
ret int %tmp.6
|
||||
ret int %tmp.7
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user