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

Tobias Gysi llvmlistbot at llvm.org
Mon Jan 26 08:03:43 PST 2026


================
@@ -2673,6 +2673,7 @@ static constexpr std::array kExplicitLLVMFuncOpAttributes{
     StringLiteral("uwtable"),
     StringLiteral("vscale_range"),
     StringLiteral("willreturn"),
+    StringLiteral("noreturn"),
----------------
gysit wrote:

We should also add a line in `processFunctionAttributes` to import the attribute (right after the will return attribute). 

nit: I believe the idea is to sort the list above alphabetically.

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


More information about the Mlir-commits mailing list