[SLP] getReductionCost - use explicit TTI::TCK_RecipThroughput CostKind. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 22 Sep 2021 15:48:01 +0000 (16:48 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 22 Sep 2021 15:52:22 +0000 (16:52 +0100)
commit8a44281f478fb0b62ea2d09f10b13643f774cdab
tree0e147d282cda158f4483105e8c3b7139115521e8
parent98e96663f6a77ee06c5db3f25cdcf19b56ac8f04
[SLP] getReductionCost - use explicit TTI::TCK_RecipThroughput CostKind. NFCI.

Avoid relying on the default cost kinds in TTI calls (we already do this in other places in SLP) - noticed while trying to see how much work it'd be to extend D110242 and remove all remaining uses of default CostKind arguments.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp