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

Alexander Hück via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 11:10:24 PDT 2026


================
@@ -2149,6 +2153,10 @@ bool AsmParser::parseStatement(ParseStatementInfo &Info,
       return parseDirectiveCFIDefCfaRegister(IDLoc);
     case DK_CFI_LLVM_DEF_ASPACE_CFA:
       return parseDirectiveCFILLVMDefAspaceCfa(IDLoc);
+    case DK_CFI_LLVM_DEF_ASPACE_CFA_LITERAL:
+      return parseDirectiveCFILLVMDefCfaConstantAddress(IDLoc);
+    case DK_CFI_LLVM_DEF_ASPACE_CFA_SCALED:
----------------
ahueck wrote:

The naming divergence was an oversight of my refactoring, where I changed to it the Transform/Constant form.
Your naming suggestion makes sense.

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


More information about the llvm-commits mailing list