diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-01-10 09:42:56 -0800 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2022-01-10 11:31:09 -0800 |
commit | f5b387988bd4885a973f35deaf3881524f526e3f (patch) | |
tree | eef4d482978d31c634ea98d6e89a617fba53da17 /libcxx/include/__algorithm/includes.h | |
parent | 8e682086a067b6cca3034ec5b64ead4b49294685 (diff) | |
download | llvm-f5b387988bd4885a973f35deaf3881524f526e3f.zip llvm-f5b387988bd4885a973f35deaf3881524f526e3f.tar.gz llvm-f5b387988bd4885a973f35deaf3881524f526e3f.tar.bz2 |
Revert "[CodeGen] Mark fma as const for Android"
This code is intended to give a special exception for platforms which set errno in some math functions but not fma. This does not apply to Android, which does not set errno in any math functions (https://cs.android.com/android/platform/superproject/+/master:bionic/libc/include/math.h;drc=master;l=59). The correct implementation for Android is to set -fno-math-errno by default, which was done in https://reviews.llvm.org/D51068. Therefore, this special exception is no longer needed for Android. Deleting it slightly reduces code complexity, clang executable size, compile time, and test time.
This reverts fbfba29d74748b8fffd2f7cc654fb4c3659c8f67.
Reviewed By: pirama
Differential Revision: https://reviews.llvm.org/D116755
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions