[clang] [CIR] Lower constant block addresses for goto (PR #201644)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 12 09:20:16 PDT 2026


================
@@ -1476,6 +1476,50 @@ def CIR_BlockAddrInfoAttr : CIR_Attr<"BlockAddrInfo", "block_addr_info"> {
   let canHaveIllegalCXXABIType = 0;
 }
 
+//===----------------------------------------------------------------------===//
+// CIR_BlockAddressAttr
+//===----------------------------------------------------------------------===//
+
+def CIR_BlockAddressAttr
----------------
adams381 wrote:

Reworked `CIR_BlockAddressAttr` to take a single `BlockAddrInfoAttr` parameter instead of redeclaring func/label; a custom printer/parser keeps the `<@func, "label">` format.

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


More information about the cfe-commits mailing list