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

Murali, Sriram sriram.murali at intel.com
Tue Jan 29 12:59:07 PST 2013

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130129/137e5b0b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loopStrengthReduce.patch
Type: application/octet-stream
Size: 3944 bytes
Desc: loopStrengthReduce.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130129/137e5b0b/attachment.obj>

More information about the llvm-dev mailing list