llvm-project
142787d3 - [RISCV][VLOPT] Add support for checkUsers when UserMI is a Single-Width Integer Reduction (#120345)

Commit
166 days ago
[RISCV][VLOPT] Add support for checkUsers when UserMI is a Single-Width Integer Reduction (#120345) Reductions are weird because for some operands, they are vector registers but only read the first lane. For these operands, we do not need to check to make sure the EEW and EMUL ratios match. The EEWs, however, do need to match.
Parents
  • llvm
    • lib/Target/RISCV
      • File
        RISCVVLOptimizer.cpp
    • test/CodeGen/RISCV/rvv
      • fixed-vectors-reduction-formation.ll
      • fold-binary-reduce.ll
      • vl-opt-op-info.mir
Loading