[all-commits] [llvm/llvm-project] 1bd13b: [RISCV][TTI] Fix a misuse of the getShuffleCost AP...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Feb 27 18:54:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bd13bceec6e29b27d1e87e1371fd4eddf8a71b3
      https://github.com/llvm/llvm-project/commit/1bd13bceec6e29b27d1e87e1371fd4eddf8a71b3
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

  Log Message:
  -----------
  [RISCV][TTI] Fix a misuse of the getShuffleCost API [NFC] (#129137)

The getShuffleCost api, in concept, expects to only deal with non-length
changing shuffles. We were failing to extend the mask appropriately
before invoking it. This came up in
https://github.com/llvm/llvm-project/pull/128537 in discussion of a
potential invariant, but is otherwise unrelated.



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