[all-commits] [llvm/llvm-project] c8ee11: [RISCV] Fix masked->unmasked peephole handling mas...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jan 9 03:54:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8ee1164bd6ae2f0a603c53d1d29ad5a3225c5cd
      https://github.com/llvm/llvm-project/commit/c8ee1164bd6ae2f0a603c53d1d29ad5a3225c5cd
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
    A llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.mir

  Log Message:
  -----------
  [RISCV] Fix masked->unmasked peephole handling masked pseudos with no passthru (#122253)

Some masked pseudos like PseudoVCPOP_M_B8_MASK don't have a passthru,
but in the masked->unmasked peephole we assumed the masked pseudo always
had one.

This checks for a passthru first and fixes #122245.



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