diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-10-01 12:45:43 +0100 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2022-05-17 15:53:53 +0100 |
commit | f7709a059ac0ef1edaa2dc83321a4d972933e975 (patch) | |
tree | d29521e87256349d3befe3dadb3f09eb79c87d0f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 5b00d13c00712de5161935d3d6b7af55cb8f3eb5 (diff) | |
download | llvm-f7709a059ac0ef1edaa2dc83321a4d972933e975.zip llvm-f7709a059ac0ef1edaa2dc83321a4d972933e975.tar.gz llvm-f7709a059ac0ef1edaa2dc83321a4d972933e975.tar.bz2 |
[RISCV] Add a test showing incorrect RVV stack alignment
The RISC-V stack is assumed to be aligned to 16 bytes and can handle stack
realignment for larger objects, but the "RVV stack" is only ensured to be
aligned to 8 bytes. This means that objects specified at a larger alignment may
be misaligned, not only for 16-byte-aligned RVV objects that don't trigger
realignment, but also for 32-byte-and-larger-aligned objects which do.
The new test checks a variety of alignment configurations, showing the
misaligned cases.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D110933
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions