[llvm] [AMDGPU][CFI] Replace CFA expression escapes with typed directives (PR #221011)

Scott Linder via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 10:53:24 PDT 2026


================
@@ -166,6 +166,12 @@ dwarf::CFIProgram DWARFCFIState::convert(MCCFIInstruction Directive) {
     CFIP.addInstruction(dwarf::DW_CFA_val_offset, Directive.getRegister(),
                         Directive.getOffset());
     break;
+  case MCCFIInstruction::OpLLVMDefCfaConstantAddress:
+  case MCCFIInstruction::OpLLVMDefCfaRegisterAddressTransform:
+    // TODO: DWARF CFA expressions are not supported yet.
----------------
slinder1 wrote:

Is there a good reason to have this be a distinct case, vs just adding these to the cases below?

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


More information about the llvm-commits mailing list