[all-commits] [llvm/llvm-project] 9c5aed: [RISCV] Fixing stack offset for RVV object with va...
Kito Cheng via All-commits
all-commits at lists.llvm.org
Thu Apr 7 21:01:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c5aedfbf53ee8ce75723dec88359403e813499f
https://github.com/llvm/llvm-project/commit/9c5aedfbf53ee8ce75723dec88359403e813499f
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/wrong-stack-offset-for-rvv-object.mir
Log Message:
-----------
[RISCV] Fixing stack offset for RVV object with vararg in stack.
We found LLVM generate wrong stack offset for RVV object when stack
having variable argument, that cause by we didn't count vaarg part during
calculate RVV stack objects.
Also update the stack layout diagram for including vaarg in the diagram.
Stack layout ref:
https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv.cc#L3941
Reviewed By: rogfer01
Differential Revision: https://reviews.llvm.org/D123180
More information about the All-commits
mailing list