[PATCH] D61392: [clang] Handle lround/llround builtins
Adhemerval Zanella via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 1 11:25:38 PDT 2019
zatrazz created this revision.
zatrazz added reviewers: efriedma, rengolin, javed.absar, huntergr, SjoerdMeijer, t.p.northover, echristo, evandro.
zatrazz added a project: clang.
Herald added subscribers: kristina, kristof.beyls.
As for other floating-point rounding builtins that can be optimized
when build with -fno-math-errno, this patch adds support for lround
and llround. It currently only optimized for AArch64 backend.
This patch depends on https://reviews.llvm.org/D61390
Repository:
rC Clang
https://reviews.llvm.org/D61392
Files:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins.c
clang/test/CodeGen/math-builtins.c
clang/test/CodeGen/math-libcalls.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61392.197601.patch
Type: text/x-patch
Size: 5079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190501/6bc13218/attachment-0001.bin>
More information about the cfe-commits
mailing list