Displaying 3 results from an estimated 3 matches for "shl6".
Did you mean:
shl
2015 Feb 22
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...s
// Src. If Src is not a trivial GEP too, don't combine
// the indices.
if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() &&
!Src.hasOneUse())
return false;
return true;
}
I have a case where
GEP: %arrayidx7 = getelementptr inbounds i32* %arrayidx, i32 %shl6
Src: %arrayidx = getelementptr inbounds [4096 x i32]* @phasor_4096, i32 0,
i32 %shl2
GEP.hasAllZeroIndices() will return false and the merge will occur
Why do we want to combine these 2 getelementptr?
On my out of tree target, combining these 2 GetElementPtr create a
performance regression becaus...
2015 Feb 24
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...> if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() &&
> > !Src.hasOneUse())
> > return false;
> > return true;
> > }
> >
> >
> >
> > I have a case where
> > GEP: %arrayidx7 = getelementptr inbounds i32* %arrayidx, i32 %shl6
> > Src: %arrayidx = getelementptr inbounds [4096 x i32]* @phasor_4096,
> > i32 0, i32 %shl2
> >
> >
> > GEP. hasAllZeroIndices() will return false and the merge will occur
> > Why do we want to combine these 2 getelementptr?
> >
> >
> > On my o...
2015 Feb 25
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...ices() &&
> > > !Src.hasOneUse())
> > > return false;
> > > return true;
> > > }
> > >
> > >
> > >
> > > I have a case where
> > > GEP: %arrayidx7 = getelementptr inbounds i32* %arrayidx, i32
> > > %shl6
> > > Src: %arrayidx = getelementptr inbounds [4096 x i32]*
> > > @phasor_4096,
> > > i32 0, i32 %shl2
> > >
> > >
> > > GEP. hasAllZeroIndices() will return false and the merge will
> > > occur
> > > Why do we want to combin...