[all-commits] [llvm/llvm-project] 860ff8: [RISCV] Use empty() instead of size()==0. NFC (#14...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 21 13:16:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 860ff8714b2d6f810703c4490e26dd687fc15b8d
      https://github.com/llvm/llvm-project/commit/860ff8714b2d6f810703c4490e26dd687fc15b8d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

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

  Log Message:
  -----------
  [RISCV] Use empty() instead of size()==0. NFC (#149868)

Move the assert past the code that determines if the pass should run.



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