[llvm] [UnrollAnalyzerTest] Remove dependency to pass managers (PR #78473)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 08:57:34 PST 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 f12059eb3fd07d3a0cb0b9e8853e1583681d1a36 74abe836871d96d6609cf2248a9393d1d38e4af1 -- llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp b/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
index 4791bfc164..f6d1c13b3c 100644
--- a/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
+++ b/llvm/unittests/Analysis/UnrollAnalyzerTest.cpp
@@ -23,8 +23,7 @@ static SmallVector<DenseMap<Value *, Value *>, 16> SimplifiedValuesVector;
 static unsigned TripCount = 0;
 
 /// Build loop info and scalar evolution for the function and run the analysis.
-static void runUnrollAnalyzer(
-    Module &M, StringRef FuncName) {
+static void runUnrollAnalyzer(Module &M, StringRef FuncName) {
   auto *F = M.getFunction(FuncName);
   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
 

``````````

</details>


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


More information about the llvm-commits mailing list