[all-commits] [llvm/llvm-project] 8a4428: [SLP] getReductionCost - use explicit TTI::TCK_Rec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 22 08:52:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a44281f478fb0b62ea2d09f10b13643f774cdab
      https://github.com/llvm/llvm-project/commit/8a44281f478fb0b62ea2d09f10b13643f774cdab
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list