[Mlir-commits] [mlir] [mlir][spirv] Add Gather/Scatter/Resize ops in TOSA Ext Inst Set (PR #188497)

Igor Wodiany llvmlistbot at llvm.org
Fri Mar 27 06:22:49 PDT 2026


================
@@ -147,6 +151,27 @@ class MatchBroadcastableShapes<string input1, string input2, string output>:
     "})">]>
   >;
 
+class SameDimsOrDynamicPred<string lhs, int lhsDim, string rhs, int rhsDim> :
----------------
IgWod wrote:

Side comment: I have added something similar for MatrixTypes: https://github.com/llvm/llvm-project/pull/185702. Maybe it would make sense to unify them in the future or even create an MLIR-wide constraint for it.

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


More information about the Mlir-commits mailing list