[Mlir-commits] [mlir] [mlir][spirv] Add spirv-to-llvm conversion for group operations (PR #115501)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Nov 8 08:03:00 PST 2024


================
@@ -1038,18 +1040,23 @@ static LLVM::LLVMFuncOp lookupOrCreateSPIRVFn(Operation *symbolTable,
       symbolTable->getLoc(), name,
       LLVM::LLVMFunctionType::get(resultType, paramTypes));
   func.setCConv(LLVM::cconv::CConv::SPIR_FUNC);
-  func.setConvergent(true);
+  if (convergent) {
+    func.setConvergent(true);
+  }
----------------
FMarno wrote:

```suggestion
    func.setConvergent(convergent);
```

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


More information about the Mlir-commits mailing list