Skip to content

JIT: Remove old loop metrics #116267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

amanasifkhalid
Copy link
Member

Removes the COUNT_LOOPS macro, and everything defined under it.

@jakobbotsch PTAL, thanks!

@Copilot Copilot AI review requested due to automatic review settings June 3, 2025 14:49
@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes all references and associated code for the obsolete loop metrics functionality (COUNT_LOOPS) from the JIT components.

  • Removed COUNT_LOOPS macro conditions from preprocessor directives in multiple source files
  • Cleared obsolete declarations and metrics printing code related to loop statistics

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/coreclr/jit/utils.cpp Removed COUNT_LOOPS from the preprocessor conditions.
src/coreclr/jit/jit.h Deleted the COUNT_LOOPS macro definition.
src/coreclr/jit/gentree.h Updated preprocessor conditions to eliminate COUNT_LOOPS.
src/coreclr/jit/gentree.cpp Removed COUNT_LOOPS from conditional compilation directives.
src/coreclr/jit/compiler.hpp Adjusted macro conditions by removing COUNT_LOOPS.
src/coreclr/jit/compiler.h Deleted obsolete declarations and comments for loop metrics.
src/coreclr/jit/compiler.cpp Cleared code and output related to COUNT_LOOPS metrics printing.

Copy link
Contributor

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

@amanasifkhalid amanasifkhalid enabled auto-merge (squash) June 3, 2025 15:10
@amanasifkhalid
Copy link
Member Author

/ba-g failures unrelated

@amanasifkhalid amanasifkhalid merged commit 4572cef into dotnet:main Jun 3, 2025
108 of 110 checks passed
@amanasifkhalid amanasifkhalid deleted the remove-loop-stats branch June 3, 2025 18:59
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2025
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.

2 participants