================ @@ -995,6 +996,12 @@ void SIFrameLowering::emitCSRSpillStores( } }; + for (const auto &Reg : make_first_range(WWMScratchRegs)) { ---------------- shiltian wrote: no auto pls https://github.com/llvm/llvm-project/pull/146427