search for: hvcmp7

Displaying 3 results from an estimated 3 matches for "hvcmp7".

Did you mean: cmp7
2011 Jul 06
2
[LLVMdev] code generation removes duplicated instructions
...tore i32 -1, i32* %3, align 4 %4 = load i32* %i, align 4 %5 = add nsw i32 %4, 1 store i32 %5, i32* %i, align 4 br label %bb1 ==> %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 inserting a comparison to jump to a newly created basic block. Somehow the code generation for arm removes the duplicated instruction and cmp instruction in arm assembly looks as...
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 inserting a comparison to jump > to a newly created basic block. Somehow the code generation for arm removes > the duplicated instruction and cmp instruction i...
2011 Jul 06
2
[LLVMdev] code generation removes duplicated instructions
...at arm.com> wrote: > 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 inserting a comparison to > jump > > to a newly created basic block. Somehow the code generation for arm > removes > > the duplicate...