[llvm] [AArch64] Enable FEAT_LSFE CodeGen only when exception can be ignored (PR #212799)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 29 08:44:57 PDT 2026
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 origin/main HEAD --extensions h,cpp -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp llvm/lib/Target/AArch64/AArch64Subtarget.cpp llvm/lib/Target/AArch64/AArch64Subtarget.h llvm/lib/Target/AArch64/AArch64TargetMachine.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index 4ccf8092a..abd75a41f 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -450,8 +450,7 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
bool IsStreamingCompatible = ForceStreamingCompatible ||
F.hasFnAttribute("aarch64_pstate_sm_compatible");
bool CanIgnoreFPExceptions =
- !F.isStrictFP() &&
- F.getFnAttribute("no-trapping-math").getValueAsBool();
+ !F.isStrictFP() && F.getFnAttribute("no-trapping-math").getValueAsBool();
unsigned MinSVEVectorSize = 0;
unsigned MaxSVEVectorSize = 0;
``````````
</details>
https://github.com/llvm/llvm-project/pull/212799
More information about the llvm-commits
mailing list