[all-commits] [llvm/llvm-project] 02da5e: [RISCV] Add test cases for masked load/store with ...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 12 12:16:13 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02da5e21ce7e01067eace4109db69300f99bf9e6
      https://github.com/llvm/llvm-project/commit/02da5e21ce7e01067eace4109db69300f99bf9e6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/masked-load-int.ll
    M llvm/test/CodeGen/RISCV/rvv/masked-store-int.ll

  Log Message:
  -----------
  [RISCV] Add test cases for masked load/store with all ones/zeros mask. NFC

These should be removed for all zeros mask or optimized to
unmasked for all ones.


  Commit: 2ea70140893b85ace356449c5de8db20c1cff95e
      https://github.com/llvm/llvm-project/commit/2ea70140893b85ace356449c5de8db20c1cff95e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/rvv/masked-load-int.ll
    M llvm/test/CodeGen/RISCV/rvv/masked-store-int.ll

  Log Message:
  -----------
  [DAGCombiner] Use isConstantSplatVectorAllZeros/Ones instead of isBuildVectorAllZeros/Ones in visitMSTORE and visitMLOAD.

This allows us to optimize when the mask is a splat_vector in
addition to build_vector.


Compare: https://github.com/llvm/llvm-project/compare/eed88e91f331...2ea70140893b


More information about the All-commits mailing list