diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-07-22 09:41:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-22 09:41:57 -0700 |
commit | 1c798e0b077f062dbe56603021a9b67c7621ffe0 (patch) | |
tree | 3f28c70a7e40799172a32c1c8ac7bfa9a8aacf4a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c80b799e90c6279ced025c44b9177c6e5f0f2ada (diff) | |
download | llvm-1c798e0b077f062dbe56603021a9b67c7621ffe0.zip llvm-1c798e0b077f062dbe56603021a9b67c7621ffe0.tar.gz llvm-1c798e0b077f062dbe56603021a9b67c7621ffe0.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions