Displaying 1 result from an estimated 1 matches for "out12".
Did you mean:
out1
2017 Aug 10
4
sinking in LICM
...br label %Loop
Loop:
%N_addr.0.pn = phi i32 [ %dec, %ContLoop ], [ %N, %Entry ]
%tmp.6 = mul i32 %N, %N_addr.0.pn
%tmp.7 = sub i32 %tmp.6, %N
%tmp.8 = sub i32 %tmp.6, %N2
%dec = add i32 %N_addr.0.pn, -1
br i1 %C, label %ContLoop, label %Out12
ContLoop:
%tmp.1 = icmp ne i32 %N_addr.0.pn, 1
br i1 %tmp.1, label %Loop, label %Out12
Out12:
%tmp.7.8.lcssa1 = phi i32 [%tmp.8, %ContLoop], [%tmp.7, %Loop]
ret i32 %tmp.7.8.lcssa1
}
Is there any problem I'm missing if we convert the above IR to the IR
below :
defin...