OSDN Git Service

[LV] Pass profitability analysis in vectorizer constructor (NFC)
authorMatthew Simpson <mssimpso@codeaurora.org>
Wed, 5 Oct 2016 20:23:46 +0000 (20:23 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Wed, 5 Oct 2016 20:23:46 +0000 (20:23 +0000)
commit798edaca32a26b6021bb9fcd0c50d8691fe61129
treed27da2a1540681f50905936511397d025ca14bc8
parentf4de15f80eb99adbccf81f3d52eafaf28cf2967e
[LV] Pass profitability analysis in vectorizer constructor (NFC)

The vectorizer already holds a pointer to one cost model artifact in a member
variable (i.e., MinBWs). As we add more, it will be easier to communicate these
artifacts to the vectorizer if we simply pass a pointer to the cost model
instead.

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