Displaying 3 results from an estimated 3 matches for "hv10_".
Did you mean:
gv100
2011 Jul 06
0
[LLVMdev] code generation removes duplicated instructions
On 6 July 2011 02:31, D S Khudia <daya.khudia at gmail.com> wrote:
> %0 = load i32* %i, align 4
> %HV14_ = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
> %1 = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
> %HVCmp7 = icmp ne i32* %1, %HV14_
> br i1 %HVCmp7, label %relExit, label %bb.split
>
> So that HV14_ is a new instruction and I am
2011 Jul 06
2
[LLVMdev] code generation removes duplicated instructions
Hello,
I am duplicating few instructions in a basic block and splitting it. The
following is an example.
bb: ; preds = %bb1
%0 = load i32* %i, align 4
%1 = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
store i32 0, i32* %1, align 4
%2 = load i32* %i, align 4
%3 = getelementptr inbounds [100 x i32]* %last_added, i32 0, i32 %2
store
2011 Jul 06
2
[LLVMdev] code generation removes duplicated instructions
...red in two different registers and then these two different
registers are used for comparision. By the way I am duplicating instruction
and inserting comparison to catch transient errors.
IR BB:
bb: ; preds = %bb1.split
%0 = load i32* %i, align 4
%HV10_ = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
%1 = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
%HVCmp15 = icmp ne i32* %1, %HV10_
br i1 %HVCmp15, label %relExit, label %bb.split
x86 asm:
.LBB0_1: # %bb...