[all-commits] [llvm/llvm-project] 351008: [libc] move to combined integer converter

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Aug 10 14:48:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3510082a1c56c39b930b11af0e6d3843ff3e4ae4
      https://github.com/llvm/llvm-project/commit/3510082a1c56c39b930b11af0e6d3843ff3e4ae4
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/converter.cpp
    M libc/src/stdio/printf_core/converter_atlas.h
    M libc/src/stdio/printf_core/core_structs.h
    R libc/src/stdio/printf_core/hex_converter.h
    M libc/src/stdio/printf_core/int_converter.h
    R libc/src/stdio/printf_core/oct_converter.h
    M libc/src/stdio/printf_core/ptr_converter.h

  Log Message:
  -----------
  [libc] move to combined integer converter

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

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D131302




More information about the All-commits mailing list