aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2021-05-28 12:06:15 +0100
committerFraser Cormack <fraser@codeplay.com>2021-05-31 09:55:39 +0100
commiteb2393659113696adf2bd770917f3109d1455c76 (patch)
tree95983af58f56c0e84107ed2e9dafb0b3723fc103 /llvm/lib/CodeGen
parent37b530a2ea8bdc28a22a3f8ca701455fb7febdea (diff)
downloadllvm-eb2393659113696adf2bd770917f3109d1455c76.zip
llvm-eb2393659113696adf2bd770917f3109d1455c76.tar.gz
llvm-eb2393659113696adf2bd770917f3109d1455c76.tar.bz2
[RISCV] Support vector conversions between fp and i1
This patch custom lowers FP_TO_[US]INT and [US]INT_TO_FP conversions between floating-point and boolean vectors. As the default action is scalarization, this patch both supports scalable-vector conversions and improves the code generation for fixed-length vectors. The lowering for these conversions can piggy-back on the existing lowering, which lowers the operations to a supported narrowing/widening conversion and then either an extension or truncation. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D103312
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions