[all-commits] [llvm/llvm-project] c1bb2d: [RISCV] Common post-mask operand construction in p...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Jul 13 10:40:08 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1bb2d0b6c1acc31a6abbd669ecb6554b3a9797e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

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

  Log Message:
  [RISCV] Common post-mask operand construction in performCombineVMergeAndVOps [nfc]

This is a subset of Luke's D155063.  I'm splitting pieces and landing them in the process of convincing myself all the individual transforms are in fact correct.

This particular change involves a slightly ugly bit of code to match the glue to the mask.  I'm staging it this way as I ran into a bit of weirdness when commoning mask operands, and wanted to isolate the complexity.

More information about the All-commits mailing list