[llvm] [PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (PR #83098)

George Koehler via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 2 13:43:09 PST 2024


================
@@ -15,11 +15,12 @@ entry:
 }
 
 ; PPC32-LABEL: test_cr2:
-; PPC32: stwu 1, -32(1)
-; PPC32: stw 31, 28(1)
+; PPC32: stwu 1, -[[#%u,AMT:]](1)
+; PPC32: stw 31, [[#AMT - 4]](1)
----------------
kernigh wrote:

Done. I stopped adding CFI to test_cr234, because cloberAllNvCrField has similar CFI.

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


More information about the llvm-commits mailing list