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)
commita721b21c646de21c699a0dab91a68d349ab10044
tree92dc519c499392b2d9780da2c7920fc94ba3d77f
parentbe20d43232114d2d38e23af75843f380a4c1c3dc
LoopVectorizer: Add a basic cost model which uses the VTTI interface.

llvm-svn: 166620
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/2012-10-20-infloop.ll
llvm/test/Transforms/LoopVectorize/cost-model.ll [new file with mode: 0644]
llvm/test/Transforms/LoopVectorize/cpp-new-array.ll
llvm/test/Transforms/LoopVectorize/gcc-examples.ll
llvm/test/Transforms/LoopVectorize/increment.ll
llvm/test/Transforms/LoopVectorize/induction_plus.ll
llvm/test/Transforms/LoopVectorize/non-const-n.ll
llvm/test/Transforms/LoopVectorize/read-only.ll
llvm/test/Transforms/LoopVectorize/reduction.ll
llvm/test/Transforms/LoopVectorize/scalar-select.ll