aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2024-09-24 13:29:30 +0100
committerGitHub <noreply@github.com>2024-09-24 13:29:30 +0100
commitdb054a197002c4d6b2c568d7c36d86f5fccade2d (patch)
tree176bb18f64acf2fe1fd0953c3180ca02ca48b29b /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent8ba334bc4ad1e20c8201b85ed0a3e3b87bc47fe1 (diff)
downloadllvm-db054a197002c4d6b2c568d7c36d86f5fccade2d.zip
llvm-db054a197002c4d6b2c568d7c36d86f5fccade2d.tar.gz
llvm-db054a197002c4d6b2c568d7c36d86f5fccade2d.tar.bz2
[AArch64][SME] Fix ADDVL addressing to scavenged stackslot. (#109674)
In https://reviews.llvm.org/D159196 we avoided stackslot scavenging when there was no FP available. But in the case where FP is available we need to actually prefer using the FP over the BP. This change affects more than just SME, but it should be a general improvement, since any slot above the (address pointed to by) FP is always closer to FP than BP, so it makes sense to always favour using the FP to address it when the FP is available. This also fixes the issue for SME where this is not just preferred but required.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions