[LV] Account for predicated stores in instruction costs
authorMatthew Simpson <mssimpso@codeaurora.org>
Thu, 13 Oct 2016 14:54:31 +0000 (14:54 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Thu, 13 Oct 2016 14:54:31 +0000 (14:54 +0000)
commit1d4b163fc0fadab7ffe87149f3d1c897ded184f9
treee748d3f5d998378ef704eaea0ea3667143f70a94
parent8295d54868a6b8a60a68e81b4c4a92d2803f0d0c
[LV] Account for predicated stores in instruction costs

This patch ensures that we scale the estimated cost of predicated stores by
block probability. This is a follow-on patch for r284123.

llvm-svn: 284126
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll