diff options
author | Diana Picus <Diana-Magda.Picus@amd.com> | 2025-10-20 13:17:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-20 13:17:56 +0200 |
commit | 3027b4a55bf77b1ea10da718bd08a070555ead9a (patch) | |
tree | 695be54404e6a167862ce9c68bd5d099d177d130 /llvm/lib/Support/SourceMgr.cpp | |
parent | ed9c75aaac9d30fd928ec0b01b447fc1f8890098 (diff) | |
download | llvm-3027b4a55bf77b1ea10da718bd08a070555ead9a.zip llvm-3027b4a55bf77b1ea10da718bd08a070555ead9a.tar.gz llvm-3027b4a55bf77b1ea10da718bd08a070555ead9a.tar.bz2 |
[AMDGPU] Fix iterator invalidation during frame lowering (#163952)
I was a bit too eager to remove the SI_WHOLE_WAVE_FUNC_SETUP instruction
during prolog emission. Erasing it invalidates MBBI, which in some cases
is still needed outside of `emitCSRSpillStores`.
Do the erasing at the end of prolog insertion instead.
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions