[clang] [mlir] [CIR] Implement 'noreturn' attribute for functions/calls. (PR #177978)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 27 10:46:39 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"; }
----------------
erichkeane wrote:
> One vote here for changing the MLIR LLVM dialect to not use that underscore
I agree, I already did so yesterday in 60fcfcbf0be58d4742c22e3949ceebb16beab0f4
Weirdly the commit line did something odd... but I switched EVERYTHING to use the `noreturn` spelling.
https://github.com/llvm/llvm-project/pull/177978
More information about the cfe-commits
mailing list