[llvm] [OPT] Search whole BB for convergence token. (PR #112728)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 08:33:15 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 ab208de34efbde4fea03732eaa353a701e72f626 ff9b6366055c7990165e53be8b6296e5a26cd392 --extensions cpp -- llvm/lib/Transforms/Utils/InlineFunction.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 9c7626fd79..9c02fbc9cd 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -181,7 +181,7 @@ namespace {
};
} // end anonymous namespace
-static IntrinsicInst *getConvergenceEntry(BasicBlock &BB) {
+static IntrinsicInst *getConvergenceEntry(BasicBlock &BB) {
auto *I = BB.getFirstNonPHI();
while (I) {
if (auto *IntrinsicCall = dyn_cast<ConvergenceControlInst>(I)) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/112728
More information about the llvm-commits
mailing list