[llvm] [AArch64][GlobalISel] Legalize 128-bit types for FABS (PR #104753)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 02:55:22 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 762c607d8ecb2bf678375f79ac23e143be0b5f3f bd6ca428987defcfbb2e567ed270fc5205bdf396 --extensions h,cpp -- llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
index cae0ce1f45..e16e52b67c 100644
--- a/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+++ b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
@@ -1424,8 +1424,7 @@ bool AArch64LegalizerInfo::legalizeFABS(MachineInstr &MI,
MIRBuilder.buildAnd(
DstReg, SrcReg,
- MIRBuilder.buildConstant(
- S128, APInt::getSignedMaxValue(128)));
+ MIRBuilder.buildConstant(S128, APInt::getSignedMaxValue(128)));
MI.eraseFromParent();
return true;
``````````
</details>
https://github.com/llvm/llvm-project/pull/104753
More information about the llvm-commits
mailing list