[llvm] [ARM] Move BFI creation to ISELDAGToDAG (PR #152200)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 13:40:43 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp llvm/lib/Target/ARM/ARMISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
index 68285f83c..66d9d93e0 100644
--- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -3361,7 +3361,8 @@ bool ARMDAGToDAGISel::tryV6T2BitfieldInsertOp(SDNode *N) {
       Val >>= llvm::countr_zero(~Mask);
 
       // Materialize the constant to be inserted
-      unsigned MovOpc = Subtarget->isThumb() ? ARM::t2MOVi32imm : ARM::MOVi32imm;
+      unsigned MovOpc =
+          Subtarget->isThumb() ? ARM::t2MOVi32imm : ARM::MOVi32imm;
       SDNode *ValNode = CurDAG->getMachineNode(
           MovOpc, DL, VT, CurDAG->getTargetConstant(Val, DL, MVT::i32));
 

``````````

</details>


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


More information about the llvm-commits mailing list