LoopVectorizer: Add a basic cost model which uses the VTTI interface.
authorNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 20:36:32 +0000 (20:36 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 24 Oct 2012 20:36:32 +0000 (20:36 +0000)
commit50bec6f8c494957b00dd225ddf580d3e0b97b871
tree1ed8a65a91fd87f8f56cb65c40df55f8ead9114f
parentd258eb3ec5cc5c9a28d3a8cd80241c9df24ce3a1
LoopVectorizer: Add a basic cost model which uses the VTTI interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166620 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/2012-10-20-infloop.ll
test/Transforms/LoopVectorize/cost-model.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/cpp-new-array.ll
test/Transforms/LoopVectorize/gcc-examples.ll
test/Transforms/LoopVectorize/increment.ll
test/Transforms/LoopVectorize/induction_plus.ll
test/Transforms/LoopVectorize/non-const-n.ll
test/Transforms/LoopVectorize/read-only.ll
test/Transforms/LoopVectorize/reduction.ll
test/Transforms/LoopVectorize/scalar-select.ll