[libc] add performance options for string to float
authorMichael Jones <michaelrj@google.com>
Fri, 21 Oct 2022 20:57:01 +0000 (13:57 -0700)
committerMichael Jones <michaelrj@google.com>
Mon, 24 Oct 2022 18:36:16 +0000 (11:36 -0700)
commit551c7aed70ad9aac77e9287b7b6f014f90f1e1b4
treee8a85fe241b87f8c5d4d4683c01da45794960e10
parent12281099dc9436920b9370ce1db714845ea662b9
[libc] add performance options for string to float

This allows the client to set compile flags to disable the passes that
the string to float function uses. A client may be willing to trade off
performance for a reduction in code size, and this allows for that
fine-tuning.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D136495
libc/src/__support/str_to_float.h