diff options
author | wangpc <wangpengcheng.pp@bytedance.com> | 2023-08-23 20:10:16 +0800 |
---|---|---|
committer | wangpc <wangpengcheng.pp@bytedance.com> | 2023-08-23 20:10:50 +0800 |
commit | 9a82bda9dedff03348c906979da9b95c0934f902 (patch) | |
tree | ed6a0f2d08900e6c7adb201435c38057b84c55ac /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 8b834caa62a279a0b4136bf3c8950b4f7162308e (diff) | |
download | llvm-9a82bda9dedff03348c906979da9b95c0934f902.zip llvm-9a82bda9dedff03348c906979da9b95c0934f902.tar.gz llvm-9a82bda9dedff03348c906979da9b95c0934f902.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions