[all-commits] [llvm/llvm-project] 083a53: clang/CodeGen/RISCV: test lowering of math builtin...
Ramkumar Ramachandra via All-commits
all-commits at lists.llvm.org
Wed Nov 22 23:39:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 083a53971758c6f9bbd448eeb9c5d839661e3f68
https://github.com/llvm/llvm-project/commit/083a53971758c6f9bbd448eeb9c5d839661e3f68
Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
A clang/test/CodeGen/RISCV/math-builtins.c
A clang/test/CodeGen/X86/math-builtins.c
R clang/test/CodeGen/math-builtins.c
Log Message:
-----------
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.
More information about the All-commits
mailing list