diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-03-12 13:51:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 13:51:44 -0500 |
commit | 598e882ee88a1e3349fb6d8dcd68f6d3b1c6334f (patch) | |
tree | aa6e5a2fd86cf7a6ad72dafabe5ae9925ab8ef03 /lldb/packages/Python/lldbsuite/support | |
parent | 3aa96f52cff3dfedba428d70fb2c55798b39e1b3 (diff) | |
download | llvm-598e882ee88a1e3349fb6d8dcd68f6d3b1c6334f.zip llvm-598e882ee88a1e3349fb6d8dcd68f6d3b1c6334f.tar.gz llvm-598e882ee88a1e3349fb6d8dcd68f6d3b1c6334f.tar.bz2 |
[libc] Template the writing mode for the writer class (#111559)
Summary:
Currently we dispatch the writing mode off of a runtime enum passed in
by the constructor. This causes very unfortunate codegen for the GPU
targets where we get worst-case codegen because of the unused function
pointer for `sprintf`. Instead, this patch moves all of this to a
template so it can be masked out. This results in no dynamic stack and
uses 60 VGPRs instead of 117. It also compiles about 5x as fast.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support')
0 files changed, 0 insertions, 0 deletions