[all-commits] [llvm/llvm-project] 982639: [RISCV] Relax vslide*_vl patterns to allow any mas...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Oct 4 13:26:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 982639fda654147f5e24a0e2b46baf26b2d78957
      https://github.com/llvm/llvm-project/commit/982639fda654147f5e24a0e2b46baf26b2d78957
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Relax vslide*_vl patterns to allow any mask. NFC (#68203)

We were previously only matching on the true_mask pattern. This patch
allows arbitrary masks to be matched, which means we can avoid the
workaround used in #66267. We can just add patterns for the _MASK pseudo
variants because RISCVDAGToDAGISel::doPeepholeMaskedRVV will transform
them to the unmasked variant if the mask is all ones.




More information about the All-commits mailing list