[all-commits] [llvm/llvm-project] 779cca: [RISCV] Precommit test showing scatter addressing gap

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Sep 22 12:22:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 779ccaea4f1fee447bd9b20c59f2aafb5c072ebe
      https://github.com/llvm/llvm-project/commit/779ccaea4f1fee447bd9b20c59f2aafb5c072ebe
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll

  Log Message:
  -----------
  [RISCV] Precommit test showing scatter addressing gap


  Commit: 46525fee812343b5e603a77893dfe2983768ca56
      https://github.com/llvm/llvm-project/commit/46525fee812343b5e603a77893dfe2983768ca56
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll

  Log Message:
  -----------
  [DAGCombine] Check both forms of a commutative transform

The transform to fold an add into the base of a scatter/gather was only checking to see if the LHS was a splat.  Included test change indicates that splats are not canonicalized to LHS, and that we need to check both sides.


Compare: https://github.com/llvm/llvm-project/compare/0b12efc7a42c...46525fee8123


More information about the All-commits mailing list