[llvm] [ARM] Override hasAndNot and hasAndNotCompare (PR #145441)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 18:03:31 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 h -- llvm/lib/Target/ARM/ARMISelLowering.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index 632f0143b..87e1b1875 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -713,7 +713,8 @@ class VectorType;
bool hasAndNotCompare(SDValue V) const override {
// We can use bics for any scalar.
- // FIXME: This is only here because of usat regressions. When that is fixed, remove this.
+ // FIXME: This is only here because of usat regressions. When that is
+ // fixed, remove this.
if ((!Subtarget->isThumb() && Subtarget->hasV6Ops()) ||
Subtarget->isThumb2())
return false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/145441
More information about the llvm-commits
mailing list