Displaying 3 results from an estimated 3 matches for "obit2".
Did you mean:
orbit2
2010 May 19
2
[LLVMdev] Intrinsics and dead instruction/code elimination
...%res1 = call {i32, i1} @llvm.*.with.overflow.i32(i32 %a, i32 %b)
%sum1 = extractvalue {i32, i1} %res, 0
%obit1 = extractvalue {i32, i1} %res, 1
store i32 %obit1, i32* @global
...
%res2 = call {i32, i1} @llvm.*.with.overflow.i32(i32 %a, i32 %b)
%sum2 = extractvalue {i32, i1} %res, 0
%obit2 = extractvalue {i32, i1} %res, 1
store i32 %obit2, i32* @global
}
then I assume an optimisation pass is able to eliminate the store i32 %obit1, i32* @global, since store i32 %obit2, i32* @global clearly clobbers the global without any interleaving load/access. However, my question is whether rep...
2010 May 19
0
[LLVMdev] Intrinsics and dead instruction/code elimination
...vm.*.with.overflow.i32(i32 %a, i32 %b)
> %sum1 = extractvalue {i32, i1} %res, 0
> %obit1 = extractvalue {i32, i1} %res, 1
> store i32 %obit1, i32* @global
> ...
> %res2 = call {i32, i1} @llvm.*.with.overflow.i32(i32 %a, i32 %b)
> %sum2 = extractvalue {i32, i1} %res, 0
> %obit2 = extractvalue {i32, i1} %res, 1
> store i32 %obit2, i32* @global
> }
>
> then I assume an optimisation pass is able to eliminate the store i32 %obit1, i32* @global, since store i32 %obit2, i32* @global clearly clobbers the global without any interleaving load/access. However, my ques...
2010 May 19
2
[LLVMdev] Intrinsics and dead instruction/code elimination
...2(i32 %a, i32 %b)
>> %sum1 = extractvalue {i32, i1} %res, 0
>> %obit1 = extractvalue {i32, i1} %res, 1
>> store i32 %obit1, i32* @global
>> ...
>> %res2 = call {i32, i1} @llvm.*.with.overflow.i32(i32 %a, i32 %b)
>> %sum2 = extractvalue {i32, i1} %res, 0
>> %obit2 = extractvalue {i32, i1} %res, 1
>> store i32 %obit2, i32* @global
>> }
>>
>> then I assume an optimisation pass is able to eliminate the store i32 %obit1, i32* @global, since store i32 %obit2, i32* @global clearly clobbers the global without any interleaving load/access. H...