Skip to content

Commit 3b3ff5c

Browse files
authored
ISel/RISCV: remove dead code corresponding to VP_FSH[L|R] (#67035)
70de0e ([VP][RISCV] Add vp.fshl/fshr and RISC-V support.) introduced VP_FSHL and VP_FSHR, by using a generic expansion for all targets: the core of this change is in TargetLowering. However, the commit erroneously introduced dead code in RISCVISelLowering. Remove this dead code.
1 parent 36b87d8 commit 3b3ff5c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
715715
setOperationAction({ISD::SMIN, ISD::SMAX, ISD::UMIN, ISD::UMAX}, VT,
716716
Legal);
717717

718-
setOperationAction({ISD::VP_FSHL, ISD::VP_FSHR}, VT, Expand);
719-
720718
// Custom-lower extensions and truncations from/to mask types.
721719
setOperationAction({ISD::ANY_EXTEND, ISD::SIGN_EXTEND, ISD::ZERO_EXTEND},
722720
VT, Custom);

0 commit comments

Comments
 (0)