[all-commits] [llvm/llvm-project] 9328cc: [VectorCombine] Add explicit CostKind to all getSh...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Dec 9 05:06:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9328cc0f6717199d116f149048c9d2ee3c1902c0
      https://github.com/llvm/llvm-project/commit/9328cc0f6717199d116f149048c9d2ee3c1902c0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

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

  Log Message:
  -----------
  [VectorCombine] Add explicit CostKind to all getShuffleCost calls. NFC.

We currently hardwire CostKind to TTI::TCK_RecipThroughput which matches the default CostKind for getShuffleCost.


  Commit: 37cb9bdecac2f291f54866bbb9660525ebe6fb16
      https://github.com/llvm/llvm-project/commit/37cb9bdecac2f291f54866bbb9660525ebe6fb16
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

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

  Log Message:
  -----------
  [VectorCombine] Add explicit CostKind to all getArithmeticInstrCost calls. NFC.

We currently hardwire CostKind to TTI::TCK_RecipThroughput which matches the default CostKind for getArithmeticInstrCost.


Compare: https://github.com/llvm/llvm-project/compare/e529681ad594...37cb9bdecac2

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list