diff options
author | Ramkumar Ramachandra <Ramkumar.Ramachandra@imgtec.com> | 2023-11-23 07:39:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 07:39:32 +0000 |
commit | 083a53971758c6f9bbd448eeb9c5d839661e3f68 (patch) | |
tree | a1fb2b334e479ee49a1a3a5415baac90de07eec5 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 49f55d107548a340992eaec1b9767c0f8fc443cd (diff) | |
download | llvm-083a53971758c6f9bbd448eeb9c5d839661e3f68.zip llvm-083a53971758c6f9bbd448eeb9c5d839661e3f68.tar.gz llvm-083a53971758c6f9bbd448eeb9c5d839661e3f68.tar.bz2 |
clang/CodeGen/RISCV: test lowering of math builtins (#71399)
Ever since 98c90a1 (ISel: introduce vector ISD::LRINT, ISD::LLRINT;
custom RISCV lowering) landed, there have been several discussions on
how the lrint and llrint libcalls would lower to LLVM IR via clang on
RV32 and RV64, in an effort to enable vectorization of lrint and llrint
via SLPVectorizer and LoopVectorize. This patch adds a new
math-builtins.c test to the RISC-V target to test the lowering of all
math libcalls, including lrint and llrint.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions