[llvm] [RISCV][VLOPT] Add vector fp-conversion instruction to isSupportedInstr (PR #122033)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 06:22:55 PST 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 142787d3687eb58633c7c55a7a9f328ba4504986 3427ceae5bd48bf838e73c411a4450182d338703 --extensions cpp -- llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp b/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
index 1497392fd9..4687a8e578 100644
--- a/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+++ b/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
@@ -986,7 +986,6 @@ static bool isSupportedInstr(const MachineInstr &MI) {
   case RISCV::VFNCVT_F_F_W:
   case RISCV::VFNCVT_ROD_F_F_W:
     return true;
-
   }
 
   return false;

``````````

</details>


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


More information about the llvm-commits mailing list