[llvm] [RISCV][VLOPT] Add Vector FP instructions to getOperandInfo (PR #121609)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 14:34:41 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 b195bb87e1a0120d8bc6f7fd7e6a7424bd664004 6c3c5c77920fdbcb897508fe961c4c4fe579c1cb --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 01b15371ca..41d71d79e0 100644
--- a/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+++ b/llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
@@ -478,7 +478,7 @@ static OperandInfo getOperandInfo(const MachineOperand &MO,
case RISCV::VFMIN_VF:
case RISCV::VFMIN_VV:
case RISCV::VFMAX_VF:
- // Vector Floating-Point Sign-Injection Instructions
+ // Vector Floating-Point Sign-Injection Instructions
case RISCV::VFMAX_VV:
case RISCV::VFSGNJ_VF:
case RISCV::VFSGNJ_VV:
@@ -486,7 +486,7 @@ static OperandInfo getOperandInfo(const MachineOperand &MO,
case RISCV::VFSGNJN_VF:
case RISCV::VFSGNJX_VF:
case RISCV::VFSGNJX_VV:
- // Vector Floating-Point Classify Instruction
+ // Vector Floating-Point Classify Instruction
case RISCV::VFCLASS_V:
// Vector Floating-Point Move Instruction
case RISCV::VFMV_V_F:
``````````
</details>
https://github.com/llvm/llvm-project/pull/121609
More information about the llvm-commits
mailing list