[RISCV] Fix assertion of getShuffleCost
This assertion is introduced by D157425. We should calculate the cost iff `Mask` is not empty. Fixes 64901 Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D158590
Loading
Please sign in to comment