Skip to content

Commit

Permalink
Register QuantizationDialect (#1978)
Browse files Browse the repository at this point in the history
Bug fix to register `mlir::quant::QuantizationDialect`.
  • Loading branch information
cryptodeal authored Feb 1, 2024
1 parent 39c4a00 commit aeeca3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stablehlo/dialect/Register.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace stablehlo {
void registerAllDialects(mlir::DialectRegistry &registry) {
// clang-format off
registry.insert<mlir::func::FuncDialect,
mlir::quant::QuantizationDialect,
mlir::sparse_tensor::SparseTensorDialect>();
registry.insert<mlir::chlo::ChloDialect,
mlir::stablehlo::StablehloDialect,
Expand Down

0 comments on commit aeeca3c

Please sign in to comment.