[clang] [CIR] Upstream Exception Attr in CallOp (PR #164964)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 24 11:47:33 PDT 2025
================
@@ -44,6 +44,7 @@ def CIR_Dialect : Dialect {
static llvm::StringRef getModuleLevelAsmAttrName() { return "cir.module_asm"; }
static llvm::StringRef getGlobalCtorsAttrName() { return "cir.global_ctors"; }
static llvm::StringRef getGlobalDtorsAttrName() { return "cir.global_dtors"; }
+ static llvm::StringRef getExceptionAttrName() { return "exception"; }
----------------
andykaylor wrote:
I don't really like this name. I think "mayThrow" would be better, and it aligns with LLVM IR function attribute flag of the same name.
https://github.com/llvm/llvm-project/pull/164964
More information about the cfe-commits
mailing list