[llvm] Introduce PrecomputeLoopExpressionsPass. (PR #90263)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 13:10:34 PDT 2024
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 300340f656d762afa8bde5fc398757d2951560bf 62037c7ffe28a6c822b0c899c7fa804eb25ad4a1 -- llvm/include/llvm/Transforms/Scalar/PrecomputeLoopExpressions.h llvm/lib/Transforms/Scalar/PrecomputeLoop.cpp llvm/lib/Passes/PassBuilderPipelines.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/PrecomputeLoop.cpp b/llvm/lib/Transforms/Scalar/PrecomputeLoop.cpp
index 3af149db11..7a2e97decc 100644
--- a/llvm/lib/Transforms/Scalar/PrecomputeLoop.cpp
+++ b/llvm/lib/Transforms/Scalar/PrecomputeLoop.cpp
@@ -219,7 +219,7 @@ public:
PrecomputeLoopExpressions(DominatorTree *DT, LoopInfo *LI,
ScalarEvolution *SE, TargetLibraryInfo *TLI,
unsigned TotalInitSize)
- : DT(DT), LI(LI), SE(SE), TLI(TLI), TotalInitSize(TotalInitSize) {};
+ : DT(DT), LI(LI), SE(SE), TLI(TLI), TotalInitSize(TotalInitSize){};
bool run(Function &Fn);
``````````
</details>
https://github.com/llvm/llvm-project/pull/90263
More information about the llvm-commits
mailing list