[llvm] [ARM] Switch to soft promoting half types. (PR #80440)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 07:07:23 PST 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 274d1b000cae57acf2dc988fcb65cfe7383ed2b0 7afc079801cb55deaed6991afe37227789e6b109 -- llvm/lib/Target/ARM/ARMISelLowering.cpp 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 93db1ebd05..b13ddf697c 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -762,13 +762,9 @@ class VectorType;
         ComplexDeinterleavingRotation Rotation, Value *InputA, Value *InputB,
         Value *Accumulator = nullptr) const override;
 
-    bool softPromoteHalfType() const override {
-      return true;
-    }
+    bool softPromoteHalfType() const override { return true; }
 
-    bool useFPRegsForHalfType() const override {
-      return true;
-    }
+    bool useFPRegsForHalfType() const override { return true; }
 
   protected:
     std::pair<const TargetRegisterClass *, uint8_t>

``````````

</details>


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


More information about the llvm-commits mailing list