diff --git a/stablehlo/tests/TestUtils.cpp b/stablehlo/tests/TestUtils.cpp index a038e3bee4..ce5ea4d4ed 100644 --- a/stablehlo/tests/TestUtils.cpp +++ b/stablehlo/tests/TestUtils.cpp @@ -151,8 +151,7 @@ struct HloTestInferPass : public impl::HloTestInferPassBase { } void runOnOperation() override { - if (failed( - applyPatternsGreedily(getOperation(), std::move(patterns)))) + if (failed(applyPatternsGreedily(getOperation(), std::move(patterns)))) return signalPassFailure(); }