search for: lcssa1

Displaying 1 result from an estimated 1 matches for "lcssa1".

Did you mean: lcssa
2017 Aug 10
4
sinking in LICM
...ddr.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 : define i32 @test7(i32 %N, i32 %N2, i1 %C) { Entry: br label %Loop Loop: %N_addr.0.pn = phi i32 [ %dec, %ContLoop ], [ %N, %Entry ]...