diff --git a/lib/Optimizer/GraphOptimizer/GraphOptimizer.cpp b/lib/Optimizer/GraphOptimizer/GraphOptimizer.cpp index 6e80bae630..fcabf30ac7 100644 --- a/lib/Optimizer/GraphOptimizer/GraphOptimizer.cpp +++ b/lib/Optimizer/GraphOptimizer/GraphOptimizer.cpp @@ -5287,32 +5287,20 @@ bool OptimizeQuantization::run(Function *F, const CompilationContext &cctx) { bool addNewNodeToWorklist = false; switch (RS->getInput().getNode()->getKind()) { case Kinded::Kind::RescaleQuantizedNodeKind: - [[fallthrough]]; case Kinded::Kind::QuantizeNodeKind: addNewNodeToWorklist = true; [[fallthrough]]; case Kinded::Kind::SplatNodeKind: - [[fallthrough]]; case Kinded::Kind::AddNodeKind: - [[fallthrough]]; case Kinded::Kind::SubNodeKind: - [[fallthrough]]; case Kinded::Kind::MulNodeKind: - [[fallthrough]]; case Kinded::Kind::DivNodeKind: - [[fallthrough]]; case Kinded::Kind::FmodNodeKind: - [[fallthrough]]; case Kinded::Kind::MinNodeKind: - [[fallthrough]]; case Kinded::Kind::MatMulNodeKind: - [[fallthrough]]; case Kinded::Kind::ConvolutionNodeKind: - [[fallthrough]]; case Kinded::Kind::ChannelwiseQuantizedConvolutionNodeKind: - [[fallthrough]]; case Kinded::Kind::FullyConnectedNodeKind: - [[fallthrough]]; case Kinded::Kind::SparseLengthsWeightedSumNodeKind: { changed = true; Node *newNode =