[llvm] SystemZ: Stop casting fp typed atomic loads in the IR (PR #90768)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 08:10:35 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 d6173167df31388869d22751fdd745f5da928ef7 200ce90f4cfd24cb5ec5cab2ca4485aa871f25d6 -- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 87b78ed298..c5df655e78 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -6261,8 +6261,7 @@ static SDValue expandBitCastI128ToF128(SelectionDAG &DAG, SDValue Src,
   Hi = DAG.getBitcast(MVT::f64, Hi);
   Lo = DAG.getBitcast(MVT::f64, Lo);
 
-  SDNode *Pair = DAG.getMachineNode(SystemZ::PAIR128, SL,
-                                    MVT::f128, Hi, Lo);
+  SDNode *Pair = DAG.getMachineNode(SystemZ::PAIR128, SL, MVT::f128, Hi, Lo);
   return SDValue(Pair, 0);
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list