[llvm-branch-commits] [llvm] [AMDGPU] Implement CFI for non-kernel functions (PR #164723)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 25 14:49:26 PST 2025


================
@@ -274,6 +383,7 @@ class PrologEpilogSGPRSpillBuilder {
         FuncInfo->getSGPRSpillToPhysicalVGPRLanes(FI);
     assert(Spill.size() == NumSubRegs);
 
+    std::optional<Register> CFISuperReg = getCFISuperReg();
----------------
arsenm wrote:

```suggestion
    MCRegister CFISuperReg = getCFISuperReg();
```

https://github.com/llvm/llvm-project/pull/164723


More information about the llvm-branch-commits mailing list