[all-commits] [llvm/llvm-project] 5ee7dc: [RISCV] Match gather(splat(ptr)) as zero strided l...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Sep 8 09:38:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ee7dc04dee5c8f285a846a054ae403de501dba5
      https://github.com/llvm/llvm-project/commit/5ee7dc04dee5c8f285a846a054ae403de501dba5
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll

  Log Message:
  -----------
  [RISCV] Match gather(splat(ptr)) as zero strided load (#65769)

We were already handling the case where the broadcast was being done via
a GEP, but we hadn't handled the case of a broadcast via a shuffle.




More information about the All-commits mailing list