Fix an obvious typo in the loop vectorizer where the cost model uses the wrong variab...
authorNadav Rotem <nrotem@apple.com>
Mon, 22 Jul 2013 17:10:48 +0000 (17:10 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 22 Jul 2013 17:10:48 +0000 (17:10 +0000)
commitb987c405481336aefdea61ee1df8f5d8ffa143cc
tree02a61a8fc2899a2767387e9fe0875840f34e9d89
parent6303ef1fb7bba4e6c6823a6732019e0996efe575
Fix an obvious typo in the loop vectorizer where the cost model uses the wrong variable. The variable BlockCost is ignored.
We don't have tests for the effect of if-conversion loops because it requires a big test (that includes if-converted loops) and it is difficult to find and balance a loop to do the right thing.

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