search for: phasor_4096

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

2015 Feb 22
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...ne // 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 because since GEP is in a loop (Src is out of loop), GEP will lower to a...
2015 Feb 24
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...&& > > !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 > > perform...
2015 Feb 25
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...> 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,...