================
@@ -253,6 +351,13 @@ class PrologEpilogSGPRSpillBuilder {
if (!TmpVGPR)
report_fatal_error("failed to find free scratch register");
+ auto BuildCFI = [&](Register Reg) {
+ TFI->buildCFI(MBB, MI, DL,
+ MCCFIInstruction::createOffset(
+ nullptr, MCRI->getDwarfRegNum(Reg, false),
+ MFI.getObjectOffset(FI) * ST.getWavefrontSize()));
+ };
+ std::optional<Register> CFISuperReg = getCFISuperReg();
----------------
arsenm wrote:
```suggestion
MCRegister CFISuperReg = getCFISuperReg();
```
https://github.com/llvm/llvm-project/pull/164723
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits