aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2022-05-19 14:47:40 +0100
committerFraser Cormack <fraser@codeplay.com>2022-05-24 06:58:51 +0100
commit08c9fb8447108fd436bd342a573181c624485608 (patch)
tree65895b6d291ceadc42f12630aad67039b15ee771 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentcb8681a2b3ad406f1215a17fd32989211c561e3e (diff)
downloadllvm-08c9fb8447108fd436bd342a573181c624485608.zip
llvm-08c9fb8447108fd436bd342a573181c624485608.tar.gz
llvm-08c9fb8447108fd436bd342a573181c624485608.tar.bz2
[RISCV] Ensure the entire stack is aligned to the RVV stack alignment
This patch fixes another bug in the RVV frame lowering. While some frame objects with non-default stack IDs (such scalable-vector alloca instructions) are considered in the target-independent max alignment calculations, others (for example, during calling-convention lowering) are not. This means we'd occasionally align the base of the stack to only 16 bytes, with no way to ensure that the RVV section contained within that is aligned to anything higher. Reviewed By: StephenFan Differential Revision: https://reviews.llvm.org/D125973
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions