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

Tobias Grosser tobias at grosser.es
Tue Jan 24 07:53:48 PST 2012


On 01/24/2012 05:13 AM, Hal Finkel wrote:
> On Tue, 2012-01-17 at 13:25 -0600, Sebastian Pop wrote:
>> 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?
>
> I've looked at your test case, and I am pleased to report a negligible
> compile-time increase!
That is nice. But does this example actually trigger the search limit of 
4000? I think that is the case I am especially interested in.

Cheers
Tobi



More information about the llvm-dev mailing list