diff options
author | Michael Jones <michaelrj@google.com> | 2023-02-17 11:14:37 -0800 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-02-28 10:50:43 -0800 |
commit | cb3c41c285fc76f21162c67503de32f83f278fae (patch) | |
tree | 56036d2c3c36e133206d2ede980d1474b9f94444 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 003078b62d8d40fc000462a97c3b70e01cbe4458 (diff) | |
download | llvm-cb3c41c285fc76f21162c67503de32f83f278fae.zip llvm-cb3c41c285fc76f21162c67503de32f83f278fae.tar.gz llvm-cb3c41c285fc76f21162c67503de32f83f278fae.tar.bz2 |
[libc] Refactor string to float return values
The internal implementation of the string to float function previously
used pointer arguments for returning several values. Additionally it
set errno in several unexpected places. Now all of that goes through
return structs. For readability I also moved the function away from raw
pointer arithmetic towards proper indexing. I also added support for
rounding modes.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D144597
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions