================
@@ -995,6 +996,12 @@ void SIFrameLowering::emitCSRSpillStores(
}
};
+ for (const auto &Reg : WWMScratchRegs) {
----------------
jayfoad wrote:
Could use `make_first_range` or `for (auto [VGPR, FI] : WWMScratchRegs)`
https://github.com/llvm/llvm-project/pull/146427