Skip to content
Commit 9a82bda9 authored by Pengcheng Wang's avatar Pengcheng Wang
Browse files

[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
parent 8b834caa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment