[all-commits] [llvm/llvm-project] 1c798e: [SelectionDAGBuilder][RISCV] Fix crash when using ...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 22 09:42:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c798e0b077f062dbe56603021a9b67c7621ffe0
      https://github.com/llvm/llvm-project/commit/1c798e0b077f062dbe56603021a9b67c7621ffe0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/RISCV/rvv/pr99782.ll

  Log Message:
  -----------
  [SelectionDAGBuilder][RISCV] Fix crash when using a memory constraint with scalable vector type. (#99821)

We need to use the minimum size of the scalable type and the correct
stack ID.

The code in the PR is still invalid because the instruction used doesn't
have a pointer operand. This is diagnosed later when the assembler
parses it.

Fixes #99782



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