diff options
author | David Spickett <david.spickett@linaro.org> | 2023-12-01 10:40:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 10:40:24 +0000 |
commit | da1aff2b2a3192f5e32fa350de19aac0b89fed18 (patch) | |
tree | 9f5e003aad722cc1784bdc2282ac00381e0ca059 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | f7d91faa790630eca506a29faa560d6783edcbc0 (diff) | |
download | llvm-da1aff2b2a3192f5e32fa350de19aac0b89fed18.zip llvm-da1aff2b2a3192f5e32fa350de19aac0b89fed18.tar.gz llvm-da1aff2b2a3192f5e32fa350de19aac0b89fed18.tar.bz2 |
[llvm][PowerPC] Correct handling of spill slots for SPE when EXPENSIVE_CHECKS is enabled (#73940)
This was modifying a container as it iterated it, which tripped a check
in libstdc++'s debug checks.
Instead, just assign to the item via the reference we already have.
This fixes the following expensive checks failures on my machine:
LLVM :: CodeGen/PowerPC/fp-strict.ll
LLVM :: CodeGen/PowerPC/pr55463.ll
LLVM :: CodeGen/PowerPC/register-pressure.ll
LLVM :: CodeGen/PowerPC/spe.ll
Which are some of the tests noted by #68594.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions