[Mlir-commits] [mlir] [MLIR] Introduce support for early exits (PR #166688)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 5 18:50:42 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- mlir/test/lib/Interfaces/RegionBranchOpInterface/TestRegionBranchOpInterface.cpp mlir/include/mlir/Dialect/SCF/IR/SCF.h mlir/include/mlir/IR/Diagnostics.h mlir/include/mlir/IR/OpDefinition.h mlir/include/mlir/IR/Operation.h mlir/include/mlir/IR/OperationSupport.h mlir/include/mlir/IR/RegionKindInterface.h mlir/lib/AsmParser/Parser.cpp mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp mlir/lib/Dialect/Quant/Transforms/NormalizeQuantTypes.cpp mlir/lib/Dialect/SCF/IR/SCF.cpp mlir/lib/Dialect/Tosa/Transforms/TosaConvertIntegerTypeToSignless.cpp mlir/lib/IR/AsmPrinter.cpp mlir/lib/IR/Diagnostics.cpp mlir/lib/IR/Dominance.cpp mlir/lib/IR/Operation.cpp mlir/lib/IR/PatternMatch.cpp mlir/lib/IR/RegionKindInterface.cpp mlir/lib/IR/Verifier.cpp mlir/lib/Interfaces/ControlFlowInterfaces.cpp mlir/lib/Transforms/Utils/InliningUtils.cpp mlir/tools/mlir-opt/mlir-opt.cpp mlir/tools/mlir-tblgen/FormatGen.cpp mlir/tools/mlir-tblgen/FormatGen.h mlir/tools/mlir-tblgen/OpFormatGen.cpp mlir/unittests/Debug/FileLineColLocBreakpointManagerTest.cpp mlir/unittests/IR/OperationSupportTest.cpp mlir/unittests/IR/ValueTest.cpp mlir/unittests/Transforms/DialectConversion.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCF.h b/mlir/include/mlir/Dialect/SCF/IR/SCF.h
index 4307a8f82..573586d86 100644
--- a/mlir/include/mlir/Dialect/SCF/IR/SCF.h
+++ b/mlir/include/mlir/Dialect/SCF/IR/SCF.h
@@ -33,7 +33,7 @@ void buildTerminatedBody(OpBuilder &builder, Location loc);
 namespace op_impl {
 struct IfOpImplicitTerminatorType;
 struct LoopOpImplicitTerminatorType;
-}
+} // namespace op_impl
 } // namespace scf
 } // namespace mlir
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/166688


More information about the Mlir-commits mailing list