diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-02-23 15:25:26 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-02-25 12:16:06 +0000 |
commit | 9620ce90d7238c5ff450a83b49cbc4b811d19830 (patch) | |
tree | 32cb6a2e24f8193e93e5027b4264a7c989d1b217 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f03826f896beb7edb68c7576be4721ff8711dacb (diff) | |
download | llvm-9620ce90d7238c5ff450a83b49cbc4b811d19830.zip llvm-9620ce90d7238c5ff450a83b49cbc4b811d19830.tar.gz llvm-9620ce90d7238c5ff450a83b49cbc4b811d19830.tar.bz2 |
[RISCV] Support fixed-length vector FP_ROUND & FP_EXTEND
This patch extends the support for vector FP_ROUND and FP_EXTEND by
including support for fixed-length vector types. Since fixed-length
vectors use "VL" nodes and scalable vectors can use the standard nodes,
there is slightly more to do in the fixed-length case. A helper function
was introduced to try and reduce the divergent paths. It is expected
that this function will similarly come in useful for lowering the
int-to-fp and fp-to-int operations for fixed-length vectors.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97301
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions