[Mlir-commits] [mlir] [mlir][tosa] Allow shift operand of tosa::MulOp as non-constant (PR #155197)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 27 19:57:49 PDT 2025


================
@@ -983,7 +983,6 @@ def Tosa_MinimumOp : Tosa_ElementwiseOp<"minimum", [
 def Tosa_MulOp : Tosa_Op<"mul", [
     DeclareOpInterfaceMethods<InferShapedTypeOpInterface,
                               ["inferReturnTypeComponents"]>,
-    Commutative,
----------------
ShivaChen wrote:

It seems to be reasonable consideration and easier to catch issue in the future. I will add back Commutative. Thanks for catching this.

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


More information about the Mlir-commits mailing list