llvm-project
baa8da34 - [mlir][spirv] Allow dynamic rescale parameter lengths (#200155)

Commit
3 days ago
[mlir][spirv] Allow dynamic rescale parameter lengths (#200155) The SPIR-V TOSA rescale verifier checked multiplier and shift lengths with a direct equality against the input channel dimension. That rejects otherwise valid operations when either side of the shape comparison is dynamic. Express the check with reusable dimension predicates so unranked or dynamic dimensions pass, while static dimensions still enforce the per-channel and scalar length requirements. Add dedicated dynamic-shape op coverage for dynamic input channel dimensions and dynamic multiplier/shift lengths. Signed-off-by: Davide Grohmann <davide.grohmann@arm.com>
Parents
Loading