pirama added a comment.
Thanks for the reviews!
Repository:
rL LLVM
https://reviews.llvm.org/D44852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328552: [CodeGen] Mark fma as const for Android (authored by
pirama, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D44852
Files:
cfe/trunk/lib/Sema/SemaDecl.cpp
cfe/trunk/test/CodeG
pirama updated this revision to Diff 139798.
pirama added a comment.
Fix comment.
Repository:
rC Clang
https://reviews.llvm.org/D44852
Files:
lib/Sema/SemaDecl.cpp
test/CodeGen/math-builtins.c
Index: test/CodeGen/math-builtins.c
=
spatel accepted this revision.
spatel added inline comments.
Comment at: lib/Sema/SemaDecl.cpp:13108-13110
// We make "fma" on GNU or Windows const because we know it does not set
// errno in those environments even though it could set errno based on the
// C stand
pirama created this revision.
pirama added reviewers: spatel, efriedma, srhines, chh, enh.
Herald added a subscriber: cfe-commits.
r318093 sets fma, fmaf, fmal as const for Gnu and MSVC. Android also
does not set errno for these functions. So mark these const for
Android.
Repository:
rC Clan