================
@@ -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"; }
----------------
andykaylor wrote:
We should standardize on whether we want to match the corresponding LLVM IR
attribute names or not. It seems we did for `nothrow`. It looks like the LLVM
dialect uses the underscore, so I guess it makes sense for CIR to follow that
example.
https://github.com/llvm/llvm-project/pull/177978
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits