[llvm] Not-quite-working prototype with ISD node (PR #118810)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 06:23:41 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 59720dc703f7f207d013b065d0ed7d3af7168bcc ebf15e9955836faf225fc3f11886ac4075503b5d --extensions h,cpp -- llvm/include/llvm/CodeGen/ISDOpcodes.h llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp llvm/lib/CodeGen/TargetLoweringBase.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
index cbd04bd3d6..e0400630f8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
@@ -247,9 +247,9 @@ void DAGTypeLegalizer::ExpandRes_EXTRACT_VECTOR_ELT(SDNode *N, SDValue &Lo,
 void DAGTypeLegalizer::ExpandRes_VECTOR_EXTRACT_LAST_ACTIVE(SDNode *N,
                                                             SDValue &Lo,
                                                             SDValue &Hi) {
-// FIXME: We need to do this by casting to smaller elements, deinterleaving,
-//        then performing 2 extract_last_active operations and returning the
-//        two parts.
+  // FIXME: We need to do this by casting to smaller elements, deinterleaving,
+  //        then performing 2 extract_last_active operations and returning the
+  //        two parts.
 
   llvm_unreachable("Implement extract_last_active expand result!");
 }

``````````

</details>


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


More information about the llvm-commits mailing list