Commit 9a82bda9 authored by wangpc's avatar wangpc
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment