[PATCH] D39641: [CodeGen] make cbrt and fma constant (never set errno)

Sanjay Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 11 08:43:06 PST 2017


spatel updated this revision to Diff 122584.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:

1. Fix predicate for detecting MSVC - isOSMSVCRT().
2. Use switch on BuiltinID instead of string matching for "fma".


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.122584.patch
Type: text/x-patch
Size: 12995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171111/6604bae7/attachment.bin>


More information about the cfe-commits mailing list