[all-commits] [llvm/llvm-project] 125300: [RISCV] Add reductions to list of roots in tryToRe...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 10 18:47:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12530015a45accd6cf9dd6d565c89b1d7e562be5
      https://github.com/llvm/llvm-project/commit/12530015a45accd6cf9dd6d565c89b1d7e562be5
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
    M llvm/test/CodeGen/RISCV/redundant-copy-from-tail-duplicate.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-formation.ll
    M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll

  Log Message:
  -----------
  [RISCV] Add reductions to list of roots in tryToReduceVL (#107595)

This allows us to reduce VLs feeding reduction instructions. In
particular, this means that <3 x Ty> reduce(load) like sequences no
longer require a VL toggle.

This was waiting on 3d72957; now that the latent correctness issue is
fixed, we can expand this transform.



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