[all-commits] [llvm/llvm-project] 41e401: [RISCV][VLOPT] Simplify code by removing extra tem...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 9 18:06:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41e4018f9c858af15c4fe0ea0d1de8ff4602071e
      https://github.com/llvm/llvm-project/commit/41e4018f9c858af15c4fe0ea0d1de8ff4602071e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

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

  Log Message:
  -----------
  [RISCV][VLOPT] Simplify code by removing extra temporary variables. NFC (#122333)

Just do the conditional operator in the return statement.



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