[all-commits] [llvm/llvm-project] f5f55a: [RISCV][TTI] Common a check in getShufleCost [nfc]

Philip Reames via All-commits all-commits at lists.llvm.org
Sat Feb 22 15:23:20 PST 2025


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

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

  Log Message:
  -----------
  [RISCV][TTI] Common a check in getShufleCost [nfc]

None of the vector costings apply if we're scalarizing.  Pull that check
into an early guard instead.


  Commit: a7d578dcce30345e343cba32beb44e573a753cb0
      https://github.com/llvm/llvm-project/commit/a7d578dcce30345e343cba32beb44e573a753cb0
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

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

  Log Message:
  -----------
  [RISCV][TTI] Avoid complicated fallthrough in getShuffleCost [nfc]

Just making the control flow easier to follow.


Compare: https://github.com/llvm/llvm-project/compare/9b7bf1fdd3e7...a7d578dcce30

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