[PATCH] D39641: [CodeGen] make cbrt and fma constant (never set errno)
Sanjay Patel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 10 15:42:05 PST 2017
spatel updated this revision to Diff 122545.
spatel added a comment.
Patch updated:
cbrt() is always const. fma() is always const with GNU or Win+MSVC.
https://reviews.llvm.org/D39641
Files:
include/clang/Basic/Builtins.def
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaDecl.cpp
test/CodeGen/libcalls.c
test/CodeGen/math-builtins.c
test/CodeGen/math-libcalls.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39641.122545.patch
Type: text/x-patch
Size: 12823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171110/e0ff57b5/attachment-0001.bin>
More information about the cfe-commits
mailing list