[llvm] [Analysis] Add new function isDereferenceableReadOnlyLoop (PR #97292)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 06:36:42 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 de528ffb17ebce96e0bc4dde1749146c41ca1d0d 158819ee3c96ff82db03c0f7fd3b255a1283e472 -- llvm/include/llvm/Analysis/Loads.h llvm/lib/Analysis/Loads.cpp llvm/unittests/Analysis/LoadsTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/Analysis/LoadsTest.cpp b/llvm/unittests/Analysis/LoadsTest.cpp
index 4c01d481c6..420ab61060 100644
--- a/llvm/unittests/Analysis/LoadsTest.cpp
+++ b/llvm/unittests/Analysis/LoadsTest.cpp
@@ -179,7 +179,7 @@ loop.end:
   auto *F1 = dyn_cast<Function>(GV1);
   auto *F2 = dyn_cast<Function>(GV2);
   ASSERT_TRUE(F1 && F2);
-  Function *FNs[2] = { F1, F2 };
+  Function *FNs[2] = {F1, F2};
 
   TargetLibraryInfoImpl TLII;
   TargetLibraryInfo TLI(TLII);

``````````

</details>


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


More information about the llvm-commits mailing list