diff options
| author | Pengcheng Wang <wangpengcheng.pp@bytedance.com> | 2024-06-11 14:28:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 14:28:51 +0800 |
| commit | 876c6204f12fa2738ff8ca886e664b826847d6d4 (patch) | |
| tree | a9f944ed00832be75a4d553fb02193bbdbb36aa3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | bfa8150ef4748a364a496f8cdf285380ac3ec876 (diff) | |
[RISCV][MC] Warn if SEW/LMUL may not be compatible
According to RVV spec:
> In general, the requirement is to support LMUL ≥ SEWMIN/ELEN,
> where SEWMIN is the narrowest supported SEW value and ELEN is
> the widest supported SEW value.
>
> For a given supported fractional LMUL setting, implementations
> must support SEW settings between SEWMIN and LMUL * ELEN, inclusive.
We print a warning if these requirements are not met.
Reviewers: kito-cheng, asb, frasercrmck, jrtc27, michaelmaitland, lukel97
Reviewed By: lukel97
Pull Request: https://github.com/llvm/llvm-project/pull/94313
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
