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

Murali, Sriram sriram.murali at intel.com
Tue Jan 29 20:15:06 PST 2013


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.

Please review.

Thanks
Sriram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130130/e8b26fd9/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-commits/attachments/20130130/e8b26fd9/attachment.obj>


More information about the llvm-commits mailing list