[llvm-commits] [LLVMdev] [PATCH] BasicBlock Autovectorization Pass

Sebastian Pop spop at codeaurora.org
Tue Jan 17 11:25:25 PST 2012


On Fri, Dec 30, 2011 at 3:09 AM, Tobias Grosser <tobias at grosser.es> wrote:
> As it seems my intuition is wrong, I am very eager to see and understand
> an example where a search limit of 4000 is really needed.

To make the ball roll again, I attached a testcase that can be tuned
to understand the impact on compile time for different sizes of a
basic block.  One can also set the number of iterations in the loop to
1 to test the vectorizer with no loops around.

Hal, could you please report the compile times with/without the
vectorizer for different basic block sizes?

Once this parameter is tuned, could we get this code committed to llvm?


PS: this testcase is also a compile time hog for GCC at -O3 when the
loop vectorizer is running.

Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbvect.c
Type: text/x-csrc
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120117/884e9227/attachment.c>

More information about the llvm-commits mailing list