[libc-commits] [PATCH] D131302: [libc] move to combined integer converter

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 5 15:07:54 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

The functions converting integers into decimal, hexadecimal, and octal,
are all very similar. This patch moves to a combined converter to save
code size.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131302

Files:
  libc/src/stdio/printf_core/CMakeLists.txt
  libc/src/stdio/printf_core/converter.cpp
  libc/src/stdio/printf_core/converter_atlas.h
  libc/src/stdio/printf_core/hex_converter.h
  libc/src/stdio/printf_core/int_converter.h
  libc/src/stdio/printf_core/oct_converter.h
  libc/src/stdio/printf_core/ptr_converter.h
  libc/test/src/__support/integer_to_string_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131302.450429.patch
Type: text/x-patch
Size: 22139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220805/16a37140/attachment-0001.bin>


More information about the libc-commits mailing list