[all-commits] [llvm/llvm-project] ae68d5: [RISCV][VLOPT] Allow propagation even when VL isn'...

Michael Maitland via All-commits all-commits at lists.llvm.org
Wed Oct 16 11:58:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae68d532f810e217c747b10b26aeea3bb84c3844
      https://github.com/llvm/llvm-project/commit/ae68d532f810e217c747b10b26aeea3bb84c3844
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.h
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
    M llvm/test/CodeGen/RISCV/rvv/vl-opt.ll

  Log Message:
  -----------
  [RISCV][VLOPT] Allow propagation even when VL isn't VLMAX (#112228)

The original goal of this pass was to focus on vector operations with
VLMAX. However, users often utilize only part of the result, and such
usage may come from the vectorizer.

We found that relaxing this constraint can capture more optimization
opportunities, such as non-power-of-2 code generation and vector
operation sequences with different VLs.

---------

Co-authored-by: Kito Cheng <kito.cheng at sifive.com>



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