[Mlir-commits] [mlir] [mlir][GPU] Improve handling of GPU bounds (PR #95166)

Jakub Kuderski llvmlistbot at llvm.org
Mon Jun 17 10:18:02 PDT 2024


================
@@ -309,8 +309,24 @@ void GPUDialect::printType(Type type, DialectAsmPrinter &os) const {
       .Default([](Type) { llvm_unreachable("unexpected 'gpu' type kind"); });
 }
 
+static LogicalResult verifyKnownLaunchSizeAttr(Operation *op,
+                                               NamedAttribute attr) {
+  auto array = llvm::dyn_cast<DenseI32ArrayAttr>(attr.getValue());
----------------
kuhar wrote:

nit: do we need the `llvm::` here?

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


More information about the Mlir-commits mailing list