[clang] [mlir] [CIR] Implement 'noreturn' attribute for functions/calls. (PR #177978)

Krzysztof Drewniak via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 27 10:40:41 PST 2026


================
@@ -39,6 +39,7 @@ def CIR_Dialect : Dialect {
     static llvm::StringRef getOptInfoAttrName() { return "cir.opt_info"; }
     static llvm::StringRef getCalleeAttrName() { return "callee"; }
     static llvm::StringRef getNoThrowAttrName() { return "nothrow"; }
+    static llvm::StringRef getNoReturnAttrName() { return "no_return"; }
----------------
krzysz00 wrote:

One vote here for changing the MLIR LLVM dialect to not use that underscore

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


More information about the cfe-commits mailing list