[TOSA] Add QuantizationDialect to TOSA's dependentDialects
This adds QuantizationDialect to the dependent dialects of TOSA This fixes the intermittent bug when creating uniform quantized type when none was parsed in. LLVM ERROR: can't create type 'mlir::quant::UniformQuantizedType' because storage uniquer isn't initialized: the dialect was likely not loaded, or the type wasn't added with addTypes<...>() in the Dialect::initialize() method. This happens, for example, in convert-tfl-uint8 pass when trying to create uniform quantized type i8 with zero-point=-128 to convert from ui8 type. Signed-off-by:Tai Ly <tai.ly@arm.com> Change-Id: I204248a45fd728d0cec8dc20214cb0b74de81e7b Reviewed By: eric-k256 Differential Revision: https://reviews.llvm.org/D149354
Loading
Please sign in to comment