[LLVMdev] [Patch][Review Requested][Compilation Time] Avoid frequent copy of elements in LoopStrengthReduce

Andrew Trick atrick at apple.com
Fri Feb 1 10:53:52 PST 2013


Sriram,

This patch looks good. Please commit.

...and thanks for the data.

-Andy

On Jan 29, 2013, at 12:59 PM, "Murali, Sriram" <sriram.murali at intel.com> wrote:

> Hello,
> This patch aims to improve compile time performance by increasing the SCEV vector size in LoopStrengthReduce. It is observed that the BaseRegs vector size is 4 in most cases, and elements are frequently copied when it is initialized as SmallVector<const SCEV *, 2> BaseRegs.
> Our benchmark results show that the compilation time performance improved by ~0.5%.
>  
> Patch by Wan Xiaofei.
>  
> Thanks
> Sriram
> <loopStrengthReduce.patch>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130201/74aa8c9c/attachment.html>


More information about the llvm-dev mailing list