Fix vectorization remarks.
authorDiego Novillo <dnovillo@google.com>
Tue, 29 Apr 2014 20:06:10 +0000 (20:06 +0000)
committerDiego Novillo <dnovillo@google.com>
Tue, 29 Apr 2014 20:06:10 +0000 (20:06 +0000)
commit55deff895d80ffa815cdf3620031714109e88ee1
treeb2ab839fd1313b910f192bbd713b740f92c75e16
parentbbea6143f2a7632978f35328c12db581de35d7aa
Fix vectorization remarks.

This patch changes the vectorization remarks to also inform when
vectorization is possible but not beneficial.

Added tests to exercise some loop remarks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopUnroll/loop-remarks.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/X86/vectorization-remarks.ll [new file with mode: 0644]