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
65c1193d55
commit
eea64fd916
|
@ -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