[Mlir-commits] [mlir] [MLIR] Add the convergent attribute to LLVM Dialect (PR #97709)
Victor Perez
llvmlistbot at llvm.org
Thu Jul 4 04:46:55 PDT 2024
================
@@ -1425,6 +1425,7 @@ def LLVM_LLVMFuncOp : LLVM_Op<"func", [
UnitAttr:$dso_local,
DefaultValuedAttr<CConv, "CConv::C">:$CConv,
OptionalAttr<SymbolRefAttr>:$comdat,
+ OptionalAttr<UnitAttr>:$convergent,
----------------
victor-eds wrote:
```suggestion
UnitAttr:$convergent,
```
I think this is the standard way. Not sure why other `UnitAttr` are `Optional` in this operation definition.
https://github.com/llvm/llvm-project/pull/97709
More information about the Mlir-commits
mailing list