]> granicus.if.org Git - clang/commit
[CodeGen] Mark fma as const for Android
authorPirama Arumuga Nainar <pirama@google.com>
Mon, 26 Mar 2018 17:03:34 +0000 (17:03 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Mon, 26 Mar 2018 17:03:34 +0000 (17:03 +0000)
commitb30363739849ed4f28dfc07ace9f38e124c13f9a
tree0699abd5e133d0fa64696999fcb854221c192475
parent1fc609130ac989c057eaf7e6921d136877211f86
[CodeGen] Mark fma as const for Android

Summary:
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.

Reviewers: spatel, efriedma, srhines, chh, enh

Subscribers: cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D44852

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328552 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGen/math-builtins.c