diff --git a/src/Transform/ONNX/ConstProp.cpp b/src/Transform/ONNX/ConstProp.cpp index 9d21db71ff..c3646a926d 100644 --- a/src/Transform/ONNX/ConstProp.cpp +++ b/src/Transform/ONNX/ConstProp.cpp @@ -1038,7 +1038,7 @@ void ConstPropONNXToONNXPass::runOnOperation() { if (isNotDisabled("SplitOfConst")) { patterns.insert(context); } - + if (failed(applyPatternsAndFoldGreedily(function, std::move(patterns)))) signalPassFailure(); }