[Mlir-commits] [mlir] [mlir][gpu] Make launch_func op use SymbolUserOpInterface (PR #173277)
Fabian Mora
llvmlistbot at llvm.org
Mon Mar 16 07:03:32 PDT 2026
================
@@ -1397,6 +1320,86 @@ LogicalResult LaunchFuncOp::verify() {
return success();
}
+LogicalResult
+LaunchFuncOp::verifySymbolUses(SymbolTableCollection &symbolTable) {
+ LaunchFuncOp launchOp = *this;
+ ModuleOp module = (*this)->getParentOfType<ModuleOp>();
----------------
fabianmcg wrote:
Instead of hard coding `ModuleOp`, use [getNearestSymbolTable](https://mlir.llvm.org/doxygen/classmlir_1_1SymbolTable.html#afff33b05aecee5f6d0e96d81c2abd337)
https://github.com/llvm/llvm-project/pull/173277
More information about the Mlir-commits
mailing list