[all-commits] [llvm/llvm-project] 297b77: [RISCV] Fix stack size computation when M extensio...
Simeon K via All-commits
all-commits at lists.llvm.org
Mon Jan 22 23:10:37 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 297b77036e82b7684e1823c14b318e365aed5b26
https://github.com/llvm/llvm-project/commit/297b77036e82b7684e1823c14b318e365aed5b26
Author: Simeon K <5235180+simeonkr at users.noreply.github.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/test/CodeGen/RISCV/rvv/allocate-lmul-2-4-8.ll
Log Message:
-----------
[RISCV] Fix stack size computation when M extension disabled (#78602)
Ensure that getVLENFactoredAmount does not fail when the scale amount
requires the use of a non-trivial multiplication but the M extension is
not enabled. In such case, perform the multiplication using shifts and
adds.
More information about the All-commits
mailing list