[all-commits] [llvm/llvm-project] 501dca: [RISCV] Limit VLEN in getOptimalMemOpType to preve...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu May 8 16:27:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 501dcab68ea978d8a3dbc46a8030b9227c4720de
      https://github.com/llvm/llvm-project/commit/501dcab68ea978d8a3dbc46a8030b9227c4720de
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/pr139075.ll

  Log Message:
  -----------
  [RISCV] Limit VLEN in getOptimalMemOpType to prevent creating invalid MVTs. (#139116)

We only guarantee that types that are 1024 bytes or smaller exist in the
MVT enum.

Fixes #139075.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list