aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/API.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-01-12 12:20:07 +0000
committerLuke Lau <luke@igalia.com>2023-01-18 10:53:24 +0000
commita0d80c239840ec477dd23071e748e60205ffd6b7 (patch)
treeb142559fc586a116fe20bb16eaf941bee034f788 /clang/lib/ExtractAPI/API.cpp
parent98b9340c07e59d1a32e28609ad1df9c88cdc6f9f (diff)
downloadllvm-a0d80c239840ec477dd23071e748e60205ffd6b7.zip
llvm-a0d80c239840ec477dd23071e748e60205ffd6b7.tar.gz
llvm-a0d80c239840ec477dd23071e748e60205ffd6b7.tar.bz2
[RISCV] Generalize performFP_TO_INTCombine to vectors
Like in the scalar domain, combine calls to (fp_to_int (ftrunc X)) on scalable and fixed-length vectors into a single vfcvt instruction. For truncating rounds, the static vfcvt.rtz rounding mode is used. Otherwise use the VFCVT_RM_ variants to set the rounding mode dynamically. Closes https://github.com/llvm/llvm-project/issues/56737 Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D141599
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions