[llvm] [AArch64][BTI] Add BTI at EH entries: BTI j for Itanium EH, BTI c for… (PR #155308)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 14:44:06 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64BranchTargets.cpp b/llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
index 42315ec7e..7be66aed0 100644
--- a/llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
+++ b/llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
@@ -97,7 +97,6 @@ bool AArch64BranchTargets::runOnMachineFunction(MachineFunction &MF) {
(F.hasAddressTaken() || !F.hasLocalLinkage())))
CouldCall = true;
-
// If the block itself is address-taken, it could be indirectly branched
// to, but not called.
if (MBB.isMachineBlockAddressTaken() || MBB.isIRBlockAddressTaken() ||
``````````
</details>
https://github.com/llvm/llvm-project/pull/155308
More information about the llvm-commits
mailing list