[all-commits] [llvm/llvm-project] bcca57: [RISCV] Simplify mask operand check in VLOptimizer...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jul 24 05:38:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcca57b1f34475e3db74377a1c00a4683a75cf82
      https://github.com/llvm/llvm-project/commit/bcca57b1f34475e3db74377a1c00a4683a75cf82
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/test/CodeGen/RISCV/rvv/vxrm.mir

  Log Message:
  -----------
  [RISCV] Simplify mask operand check in VLOptimizer. NFC (#150373)

We don't need to lookup the reg class because the MCInstDesc already
gives us this information.

With that we can remove some helper methods, and tighten the assert in
isCandidate because all pseudos at this stage should be defining virtual
registers.



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