[Mlir-commits] [mlir] [mlir][xegpu] Relax rank restriction of TensorDescType (PR #145916)

Adam Siemieniuk llvmlistbot at llvm.org
Mon Jun 30 06:58:30 PDT 2025


================
@@ -43,8 +43,8 @@ def XeGPU_BlockTensorDescAttr: XeGPU_TensorDescAttr<"BlockTensorDesc", "block_td
 
   let parameters = (ins
     OptionalParameter<"MemorySpaceAttr">: $memory_space,
-    OptionalParameter<"IntegerAttr", "1">: $array_length,
-    OptionalParameter<"BoolAttr", "true">: $boundary_check
+    OptionalParameter<"IntegerAttr">: $array_length,
----------------
adam-smnk wrote:

Since you're already touching these, could we switch to `DefaultValuedParameter`?

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


More information about the Mlir-commits mailing list