[all-commits] [llvm/llvm-project] 30ca25: [RISCV] Pre-commit concat-vectors-constant-stride.ll

Michael Maitland via All-commits all-commits at lists.llvm.org
Mon Oct 16 16:49:33 PDT 2023


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

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/concat-vectors-constant-stride.ll

  Log Message:
  -----------
  [RISCV] Pre-commit concat-vectors-constant-stride.ll

This patch commits tests that can be optimized by improving
performCONCAT_VECTORCombine to do a better job at decomposing the base
pointer and recognizing a constant offset.


  Commit: c319c741463a039c2323825b149df70cbe535c67
      https://github.com/llvm/llvm-project/commit/c319c741463a039c2323825b149df70cbe535c67
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/concat-vectors-constant-stride.ll

  Log Message:
  -----------
  [RISCV] Improve performCONCAT_VECTORCombine stride matching

If the load ptrs can be decomposed into a common (Base + Index) with a
common constant stride, then return the constant stride.


Compare: https://github.com/llvm/llvm-project/compare/2565f9f49b79...c319c741463a


More information about the All-commits mailing list