[llvm] [RISCV] Partially move doPeepholeMaskedRVV into RISCVFoldMasks (PR #72441)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 13:30:11 PST 2023


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 c70f6fc4f4c33656b2048e37c287d5c811f413b2 d4cd325ae9351fd288eea248a54eb5a06fe58e9c -- llvm/lib/Target/RISCV/RISCVFoldMasks.cpp llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVFoldMasks.cpp b/llvm/lib/Target/RISCV/RISCVFoldMasks.cpp
index 4586a4a0c7..dad11cb6ec 100644
--- a/llvm/lib/Target/RISCV/RISCVFoldMasks.cpp
+++ b/llvm/lib/Target/RISCV/RISCVFoldMasks.cpp
@@ -17,8 +17,8 @@
 //===---------------------------------------------------------------------===//
 
 #include "RISCV.h"
-#include "RISCVSubtarget.h"
 #include "RISCVISelDAGToDAG.h"
+#include "RISCVSubtarget.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include "llvm/CodeGen/MachineRegisterInfo.h"
 #include "llvm/CodeGen/TargetInstrInfo.h"

``````````

</details>


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


More information about the llvm-commits mailing list