[Mlir-commits] [flang] [mlir] [MLIR][LLVM] Enable strict property assembly format (PR #217277)

Mehdi Amini llvmlistbot at llvm.org
Wed Aug 26 02:55:07 PDT 2026


================
@@ -1336,7 +1355,8 @@ def LLVM_MatrixTransposeOp : LLVM_OneResultIntrOp<"matrix.transpose"> {
   let arguments = (ins LLVM_AnyVector:$matrix, I32Attr:$rows, I32Attr:$columns);
   let results = (outs LLVM_AnyVector:$res);
   let builders = [LLVM_OneResultOpBuilder];
-  let assemblyFormat = "$matrix attr-dict `:` type($matrix) `into` type($res)";
+  let assemblyFormat = "$matrix `rows` `=` $rows `columns` `=` $columns "
----------------
joker-eph wrote:

Added commas between the matrix operand and the required properties, and applied the same convention consistently to matrix load, store, and multiply. I kept the explicit properties rather than falling back to a prop-dict so the strict format remains declarative.

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


More information about the Mlir-commits mailing list