[Mlir-commits] [mlir] [mlir][tosa] Convert RESCALE op multiplier and shift from attributes to inputs (PR #129720)

Georgios Pinitas llvmlistbot at llvm.org
Wed Mar 5 02:07:10 PST 2025


================
@@ -68,11 +72,23 @@ def Tosa_Int32Or64 : AnyTypeOf<[Tosa_Int32,
 // int8  : symmetric  per tensor/per channel, signed
 // int16 : symmetric  per tensor,             signed
 //===----------------------------------------------------------------------===//
-def Tosa_QuantizedInt : AnyTypeOf<[Tosa_QuantizedType<"uint8", [8], 0>,
-                                   Tosa_QuantizedType<"int4", [4, 0], 1>,
-                                   Tosa_QuantizedType<"int8", [8, 0], 1>,
-                                   Tosa_QuantizedType<"int16", [16, 0], 1>,
-                                   Tosa_QuantizedType<"int32", [32, 0], 1>]>;
+def Tosa_QuantizedInt	: AnyTypeOf<[ Tosa_QuantizedType<"uint8", [8], 0>,
----------------
GeorgeARM wrote:

nit:same alignment issue

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


More information about the Mlir-commits mailing list