Add optimization remarks to the loop unroller and vectorizer.
authorDiego Novillo <dnovillo@google.com>
Tue, 29 Apr 2014 14:27:31 +0000 (14:27 +0000)
committerDiego Novillo <dnovillo@google.com>
Tue, 29 Apr 2014 14:27:31 +0000 (14:27 +0000)
commit44180390f8c484e946e61fa800bfd8cf24d4af30
tree9d01ca78a806aabcb64ceb4eb114c5eda3c47969
parentedc45954721e8fb27537319dc276f0b2dddf2863
Add optimization remarks to the loop unroller and vectorizer.

Summary:
This calls emitOptimizationRemark from the loop unroller and vectorizer
at the point where they make a positive transformation. For the
vectorizer, it reports vectorization and interleave factors. For the
loop unroller, it reports all the different supported types of
unrolling.

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D3456

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207528 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopInfo.h
lib/Transforms/Utils/LoopUnroll.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp