[llvm] [BOLT][AArch64] Skip BBs only instead of functions (PR #81989)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 07:04:54 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 2e39b57837aa1790b3ee078fa532bb1748a609c7 a633fde6041dabc4d683806fcddd0f65f2e39ec1 -- bolt/include/bolt/Core/MCPlusBuilder.h bolt/lib/Passes/Instrumentation.cpp bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Passes/Instrumentation.cpp b/bolt/lib/Passes/Instrumentation.cpp
index 1ef1224a96..b2056c8f1c 100644
--- a/bolt/lib/Passes/Instrumentation.cpp
+++ b/bolt/lib/Passes/Instrumentation.cpp
@@ -118,8 +118,8 @@ static bool hasAArch64ExclusiveMemop(
outs() << "BOLT-INSTRUMENTER: function " << Function.getPrintName()
<< " has two exclusive loads. Ignoring the function.\n";
}
- return true;
- }
+ return true;
+ }
if (BC.MIB->isAArch64ExclusiveLoad(Inst))
IsLoad = true;
``````````
</details>
https://github.com/llvm/llvm-project/pull/81989
More information about the llvm-commits
mailing list