[llvm] [RISCV][VLOPT] Add support for vfclass.v (PR #148246)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 08:00:10 PDT 2025


================
@@ -1121,6 +1121,8 @@ static bool isSupportedInstr(const MachineInstr &MI) {
   case RISCV::VFSGNJN_VF:
   case RISCV::VFSGNJX_VF:
   case RISCV::VFSGNJX_VV:
+  // Vector Floating-Point Classify Instruction
+  case RISCV::VFCLASS_V:
----------------
lukel97 wrote:

Nit but can you move this below the compare section so it matches with the order in the spec

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


More information about the llvm-commits mailing list