[PATCH] Add optimization remarks to the loop unroller and vectorizer.

Diego Novillo dnovillo at google.com
Tue Apr 29 07:58:33 PDT 2014


On Tue, Apr 29, 2014 at 7:53 AM, Zinovy Nis <zinovy.nis at gmail.com> wrote:

> ================
> Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:1197
> @@ -1196,1 +1196,3 @@
>
> +    // Report the vectorization decision.
> +    F->getContext().emitOptimizationRemark(
> ----------------
> Your code will report loop as vectorized even if it was only unrolled.
> Please see lines
>

Thanks for catching this. I missed that the unroller is not returning
early. I'll move the remark.


Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140429/0fca2cfa/attachment.html>


More information about the llvm-commits mailing list