[LLVMdev] Parallel Loop Metadata
Andrew Trick
atrick at apple.com
Sun Feb 17 13:33:55 PST 2013
On Feb 17, 2013, at 1:15 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>> Unrolling OTOH should be aware of and preserve any loop metadata.
>
> If the unroller somehow differentiates the metadata coming from different loop iterations, then BBVectorize can use this information as well. Even better, we could make BasicAA understand that appropriately marked loads and stores from different iterations don't alias. Then the AA-based dependency breaker in the scheduler could also make use of the information. Thoughts?
That could work. Eventually the LoopVectorizer pass should be able to unroll and overlap iterations. If then it's still important for BBVectorize to disambiguate, that information could be provided either by updating the metadata or a separate analysis preserved by LoopVectorizer. BBVectorize should run immediately afterward.
-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130217/1bb1c4d4/attachment.html>
More information about the llvm-dev
mailing list