[llvm] AArch64: Select FCANONICALIZE (PR #104429)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 02:18:23 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 8d35ab80fc7a856ac6a60cf9074210f3983206ac 2b24ec45cbe0e2ab0b79fb2e2b977a4181a52cbd --extensions cpp -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index b7b9cf4607..ca1dc54e79 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -1367,7 +1367,7 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     if (!Subtarget->hasFullFP16()) {
       setOperationPromotedToType(ISD::FCANONICALIZE, MVT::v4f16, MVT::v4f32);
       setOperationPromotedToType(ISD::FCANONICALIZE, MVT::v8f16, MVT::v8f32);
-        //setOperationAction(ISD::FCANONICALIZE, Ty, Expand);
+      // setOperationAction(ISD::FCANONICALIZE, Ty, Expand);
     }
 
     // LRINT and LLRINT.

``````````

</details>


https://github.com/llvm/llvm-project/pull/104429


More information about the llvm-commits mailing list