[llvm] [NFC] Extract LoopConstrainer from IRCE to reuse it outside the pass (PR #70508)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 14:08:22 PDT 2023


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 505e32302c07b9081fa1bc05daf72bafed6ca29a 171be674edc702d4b686559e535e62a599b3d362 -- llvm/include/llvm/Transforms/Utils/LoopConstrainer.h llvm/lib/Transforms/Utils/LoopConstrainer.cpp llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Transforms/Utils/LoopConstrainer.h b/llvm/include/llvm/Transforms/Utils/LoopConstrainer.h
index 11926f703189..64db907e9a0f 100644
--- a/llvm/include/llvm/Transforms/Utils/LoopConstrainer.h
+++ b/llvm/include/llvm/Transforms/Utils/LoopConstrainer.h
@@ -224,4 +224,3 @@ public:
 } // namespace llvm
 
 #endif // LLVM_TRANSFORMS_UTILS_LOOP_CONSTRAINER_H
-

``````````

</details>


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


More information about the llvm-commits mailing list