[all-commits] [llvm/llvm-project] 2698fc: [RISCV] Refactor helper in isDesirableToCommuteWit...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Dec 11 21:24:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2698fc699bfd6d62c5f9c2febfdbd2f3505bfdaf
      https://github.com/llvm/llvm-project/commit/2698fc699bfd6d62c5f9c2febfdbd2f3505bfdaf
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

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

  Log Message:
  -----------
  [RISCV] Refactor helper in isDesirableToCommuteWithShift. NFC (#119526)

Instead of duplicating the loop twice, add arguments to the lambda.
I plan on reusing this in #119527



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