[all-commits] [llvm/llvm-project] c43293: [SelectionDAG][RISCV] Use VP_STORE to widen MSTORE...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu May 22 08:29:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c432936b05d9e47c23dbbbe00ba02e11384fe6ff
      https://github.com/llvm/llvm-project/commit/c432936b05d9e47c23dbbbe00ba02e11384fe6ff
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-store-fp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-store-int.ll
    M llvm/test/CodeGen/RISCV/rvv/masked-store-int.ll

  Log Message:
  -----------
  [SelectionDAG][RISCV] Use VP_STORE to widen MSTORE in type legalization when possible. (#140991)

Widening the mask and padding with zeros doesn't work for scalable
vectors. Using VL produces less code for fixed vectors.

Similar was recently done for MLOAD.



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