Skip to content

Commit 083a539

Browse files
authored
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.
1 parent 49f55d1 commit 083a539

File tree

2 files changed

+459
-0
lines changed

2 files changed

+459
-0
lines changed

0 commit comments

Comments
 (0)