diff options
author | LiaoChunyu <chunyu@iscas.ac.cn> | 2023-07-18 15:10:53 +0800 |
---|---|---|
committer | LiaoChunyu <chunyu@iscas.ac.cn> | 2023-07-18 15:25:59 +0800 |
commit | 65ffcc099c7f91a15e57b013e2713fa1a49540d2 (patch) | |
tree | 9bcf500994718861000c96e7c983c9f7ebb5aaaf /llvm/lib/IR/Function.cpp | |
parent | d18ce73170043d7137d12fa1f759a0c5fd1fe223 (diff) | |
download | llvm-65ffcc099c7f91a15e57b013e2713fa1a49540d2.zip llvm-65ffcc099c7f91a15e57b013e2713fa1a49540d2.tar.gz llvm-65ffcc099c7f91a15e57b013e2713fa1a49540d2.tar.bz2 |
[RISCV] Lower VP_CTLZ_ZERO_UNDEF/VP_CTTZ_ZERO_UNDEF/VP_CTLZ by converting to FP and extracting the exponent.
D111904, D141585 made RISC-V customized lower vector ISD::CTLZ_ZERO_UNDEF/CTTZ_ZERO_UNDEF/CTLZ
by converting to float and using the float result.
Perhaps VP_CTLZ_ZERO_UNDEF/VP_CTTZ_ZERO_UNDEF/VP_CTLZ could use the similar feature.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D155150
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions