Skip to content

JIT: Simplify formatting strings for various "reason" fields#98434

Merged
jakobbotsch merged 2 commits intodotnet:mainfrom
jakobbotsch:printf-alloc
Feb 15, 2024
Merged

JIT: Simplify formatting strings for various "reason" fields#98434
jakobbotsch merged 2 commits intodotnet:mainfrom
jakobbotsch:printf-alloc

Conversation

@jakobbotsch
Copy link
Copy Markdown
Member

Add a Compiler::printfAlloc that makes it simpler to create more insightful strings to be stored in LclVarDsc and other places.

Add a `Compiler::printfAlloc` that makes it simpler to create more
insightful strings to be stored in `LclVarDsc` and other places.
@ghost ghost assigned jakobbotsch Feb 14, 2024
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 14, 2024
@ghost
Copy link
Copy Markdown

ghost commented Feb 14, 2024

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Add a Compiler::printfAlloc that makes it simpler to create more insightful strings to be stored in LclVarDsc and other places.

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

@ryujit-bot
Copy link
Copy Markdown

Diff results for #98434

Throughput diffs

Throughput diffs for linux/arm64 ran on windows/x64

MinOpts (-0.00% to +0.01%)
Collection PDIFF
realworld.run.linux.arm64.checked.mch +0.01%

Throughput diffs for osx/arm64 ran on windows/x64

MinOpts (-0.00% to +0.01%)
Collection PDIFF
realworld.run.osx.arm64.checked.mch +0.01%

Throughput diffs for windows/arm64 ran on windows/x64

MinOpts (-0.01% to +0.00%)
Collection PDIFF
realworld.run.windows.arm64.checked.mch -0.01%

Details here


Copy link
Copy Markdown
Member

@AndyAyersMS AndyAyersMS left a comment

Choose a reason for hiding this comment

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

Ah, this will be useful. I've always wanted CSE temps to be annotated with their candidate numbers.

@jakobbotsch jakobbotsch merged commit 988958f into dotnet:main Feb 15, 2024
@jakobbotsch jakobbotsch deleted the printf-alloc branch February 15, 2024 09:31
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants