OSDN Git Service

[Loop Vectorize] Added a separate metadata
authorAditya Kumar <hiraditya@msn.com>
Sun, 20 Aug 2017 10:32:41 +0000 (10:32 +0000)
committerAditya Kumar <hiraditya@msn.com>
Sun, 20 Aug 2017 10:32:41 +0000 (10:32 +0000)
commit70fb4705b4f9fc9974ee407e883c774a4c537da3
tree78735b627c0efaadee8f41e7f34f44666f24e1ac
parent1ce5cae5ff4f3c79ff18d4f8c6bc63a2f85159df
[Loop Vectorize] Added a separate metadata

Added a separate metadata to indicate when the loop
has already been vectorized instead of setting width and count to 1.

Patch written by Divya Shanmughan and Aditya Kumar

Differential Revision: https://reviews.llvm.org/D36220

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311281 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/X86/already-vectorized.ll
test/Transforms/LoopVectorize/X86/vectorization-remarks-loopid-dbg.ll
test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
test/Transforms/LoopVectorize/X86/vectorization-remarks.ll
test/Transforms/LoopVectorize/duplicated-metadata.ll
test/Transforms/LoopVectorize/if-conversion-nest.ll
test/Transforms/LoopVectorize/multiple-strides-vectorization.ll
test/Transforms/LoopVectorize/vectorize-once.ll