diff options
author | Ilya Tokar <tokarip@google.com> | 2021-02-10 13:05:19 -0500 |
---|---|---|
committer | Ilya Tokar <tokarip@google.com> | 2021-02-10 15:17:42 -0500 |
commit | c81d52997ac0d1206ea0fd4935964f4c8661daed (patch) | |
tree | 1b0c3aa6fb3de288587555f5a3fe7a3ebef884fc /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 19fc8eede484ce50fa0341addeed55af12440dad (diff) | |
download | llvm-c81d52997ac0d1206ea0fd4935964f4c8661daed.zip llvm-c81d52997ac0d1206ea0fd4935964f4c8661daed.tar.gz llvm-c81d52997ac0d1206ea0fd4935964f4c8661daed.tar.bz2 |
[libc++] Use builtins in more math.h functions.
Not using builtins doesn't always imply worse code,
but for e. g. isinf, this is 30%+ faster.
Before:
name time/op
BM_isinf 2.14ns ± 2%
After:
name time/op
BM_isinf 1.33ns ± 2%
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D88854
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions