Displaying 1 result from an estimated 1 matches for "else146".
Did you mean:
else145
2011 Nov 14
0
[LLVMdev] algebraic (de)optimizations form long chains of dependent operations
...sum1 = val1 + val2;
sum2 = val3 + val4;
sum3 = val5 + val6;
sum4 = val7 + val8;
sum5 = sum1 + sum2;
sum6 = sum3 + sum4;
sum7 = sum5 + sum6;
sum += sum7;
I get bitcode like this:
if.end152: ; preds = %if.then150, %if.else146, %if.end137
%val8.0 = phi i32 [ -2048, %if.then150 ], [ %conv38, %if.else146 ], [ 2047, %if.end137 ]
%conv154 = trunc i32 %val8.0 to i16
store i16 %conv154, i16* %add.ptr36, align 2
%add = add i32 %val1.0, %sum.1
%add161 = add i32 %add, %val2.0
%add170 = add i32 %add161, %val3.0
%add1...