aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorBradley Smith <bradley.smith@arm.com>2022-04-26 12:19:32 +0000
committerBradley Smith <bradley.smith@arm.com>2022-05-03 09:48:13 +0000
commit96bbd359edbf8582fc2d29b57d7e65e54e98709b (patch)
treeea4806928d04e6686e4c28725dbed3ae0bc95331 /llvm/lib/Support/CommandLine.cpp
parentf496a0eba4f7983257069b0bb2c2fb4463106b49 (diff)
downloadllvm-96bbd359edbf8582fc2d29b57d7e65e54e98709b.zip
llvm-96bbd359edbf8582fc2d29b57d7e65e54e98709b.tar.gz
llvm-96bbd359edbf8582fc2d29b57d7e65e54e98709b.tar.bz2
[AArch64][SVE] Only fold frame indexes referencing SVE objects into SVE loads/stores
Currently we always fold frame indexes into SVE load/store instructions, however these instructions can only encode VL scaled offests. This means that when we are accessing a fixed length stack object with these instructions, the folded in frame index gets pulled back out during frame lowering. This can cause issues when we have no spare registers and no emergency spill slot. Rather than causing issues like this, don't fold in frame indexes that reference fixed length objects. Fixes: #55041 Differential Revision: https://reviews.llvm.org/D124457
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions