[all-commits] [llvm/llvm-project] d4773c: [RISCV] Fix a crash in RISCVGatherScatterLowering

Philip Reames via All-commits all-commits at lists.llvm.org
Sat Apr 15 21:27:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4773c6a3dfa0da8802bc7adb6e127a36cc0600a
      https://github.com/llvm/llvm-project/commit/d4773c6a3dfa0da8802bc7adb6e127a36cc0600a
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-04-15 (Sat, 15 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll

  Log Message:
  -----------
  [RISCV] Fix a crash in RISCVGatherScatterLowering

We were assuming that the constant must always be fixed length when this is not required.  Such code is unlikely after optimization, which is why we didn't see this previously.




More information about the All-commits mailing list