[all-commits] [llvm/llvm-project] 43ad05: [RISCV] Fix stack slot for argument types (Bug 49500)
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Thu Apr 29 01:18:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43ad058a01881962604a941ae95209fad095aa18
https://github.com/llvm/llvm-project/commit/43ad058a01881962604a941ae95209fad095aa18
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-04-29 (Thu, 29 Apr 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
M llvm/test/CodeGen/RISCV/stack-slot-size.ll
M llvm/test/CodeGen/RISCV/vector-abi.ll
Log Message:
-----------
[RISCV] Fix stack slot for argument types (Bug 49500)
This is an complementary/alternative fix for D99068. It takes a slightly
different approach by explicitly summing up all of the required split
part type sizes and ensuring we allocate enough space for them. It also
takes the maximum alignment of each part.
Compared with D99068 there are fewer changes to the stack objects in
existing tests. However, @luismarques has shown in that patch that there
are opportunities to reduce our stack usage in the future.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D99087
More information about the All-commits
mailing list