Skip to content

[ATfE] Enable modular printf in LLVM libc#843

Open
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:enable_modular_printf
Open

[ATfE] Enable modular printf in LLVM libc#843
voltur01 wants to merge 1 commit into
arm:arm-softwarefrom
voltur01:enable_modular_printf

Conversation

@voltur01
Copy link
Copy Markdown
Contributor

This enables modular printf LLVM libc implementation that for now can leave floating point support out, if it is not used, see https://discourse.llvm.org/t/rfc-printf-code-size-optimization/83146/35

This gives a clear benefit in code size: a trivial printf a float number sample is 37K of code while similar printf an integer is only 13K.

Depends on llvm/llvm-project#194003

This enables modular printf LLVM libc implementation that for now can leave
floating point support out, if it is not used, see
https://discourse.llvm.org/t/rfc-printf-code-size-optimization/83146/35

This gives a clear benefit in code size: a trivial printf a float number
sample is 37K of code while similar printf an integer is only 13K.
@voltur01 voltur01 requested a review from a team as a code owner April 24, 2026 16:39
Copy link
Copy Markdown
Contributor

@vhscampos vhscampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is an excellent addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants