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

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


Hi,

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?

Thanks,
Sebastian

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-dev/attachments/20120117/884e9227/attachment.c>


More information about the llvm-dev mailing list