[Mlir-commits] [mlir] [mlir][spirv] Add convergent attribute to builtin (PR #122131)

Victor Perez llvmlistbot at llvm.org
Thu Jan 9 02:13:48 PST 2025


victor-eds wrote:

I see what @kuhar means. Maybe simply doing:

```cpp
    LLVM::LLVMFuncOp func = lookupOrCreateSPIRVFn(
        symbolTable, funcName, paramTypes, retTy, /*isConvergent=*/true);
```

and keeping `lookupOrCreateSPIRVFn`'s definition as is is better.

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


More information about the Mlir-commits mailing list