Skip to content

Commit f3c0432

Browse files
Move enum values
Signed-off-by: Mikhail R. Gadelha <[email protected]>
1 parent f6add81 commit f3c0432

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,11 +1026,6 @@ static bool isSupportedInstr(const MachineInstr &MI) {
10261026
case RISCV::VSSRA_VV:
10271027
case RISCV::VSSRA_VX:
10281028
case RISCV::VSSRA_VI:
1029-
// Vector Permutation Instructions
1030-
// Integer Scalar Move Instructions
1031-
// Floating-Point Scalar Move Instructions
1032-
case RISCV::VMV_S_X:
1033-
case RISCV::VFMV_S_F:
10341029
// Vector Narrowing Fixed-Point Clip Instructions
10351030
case RISCV::VNCLIPU_WV:
10361031
case RISCV::VNCLIPU_WX:
@@ -1064,6 +1059,11 @@ static bool isSupportedInstr(const MachineInstr &MI) {
10641059
case RISCV::VMSOF_M:
10651060
case RISCV::VIOTA_M:
10661061
case RISCV::VID_V:
1062+
// Vector Permutation Instructions
1063+
// Integer Scalar Move Instructions
1064+
// Floating-Point Scalar Move Instructions
1065+
case RISCV::VMV_S_X:
1066+
case RISCV::VFMV_S_F:
10671067
// Vector Slide Instructions
10681068
case RISCV::VSLIDEUP_VX:
10691069
case RISCV::VSLIDEUP_VI:

0 commit comments

Comments
 (0)