Issue 157378
Summary [mlir][tosa] tosa-to-linalg missed lowering rescale with non-constant inputs
Labels mlir
Assignees
Reporter ShivaChen
    With https://www.mlplatform.org/tosa/tosa_spec_1_0_1.html#_rescale,
multiplier, shift, input_zp and output_zp could be non-constant with EXT-DYNAMIC enabled. 

tosa-to-linalg forbidden non-constant inputs which make following Tosa Conformance tests failed.
rescale_22x20_i32_outi8_sc0_rmS_pc0_iu0_ou0_dyn
rescale_31x18_i8_outi8_sc0_rmS_pc0_iu1_ou0_dyn
rescale_20x19_i16_outi8_sc0_rmS_pc0_iu1_ou0_dyn

https://github.com/llvm/llvm-project/pull/155967 intends to relax the restriction and lowering with non-constant inputs of Tosa rescaleOp.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to