[vectorizer] Add an override for the target instruction cost and use it
authorChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jan 2014 11:41:50 +0000 (11:41 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jan 2014 11:41:50 +0000 (11:41 +0000)
commit1c4746ed70480791cedfbcd65d7d0645798d85f4
tree5ba2f39051d3ceb20917c9d74e67d89b908ffb8d
parent91a3f1dc8ef69d17cdf81ea3e1214e6e7c127d83
[vectorizer] Add an override for the target instruction cost and use it
to stabilize a test that really is trying to test generic behavior and
not a specific target's behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/unroll_novec.ll