Skip to content
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

JIT: Clean up some old style walks and QMARK validation #79747

Merged
merged 2 commits into from
Dec 17, 2022

Conversation

jakobbotsch
Copy link
Member

Also a small visitor change. Extracted from #79346.

Extracted from early liveness PR. Also small visitor change.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 16, 2022
@ghost ghost assigned jakobbotsch Dec 16, 2022
@ghost
Copy link

ghost commented Dec 16, 2022

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

Issue Details

Also a small visitor change. Extracted from #79346.

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

// Returns true if a GT_QMARK node is encountered in the argx tree
//
if (comp->fgWalkTreePre(&argx, Compiler::fgChkQmarkCB) == Compiler::WALK_ABORT)
if (comp->gtTreeContainsOper(argx, GT_QMARK))
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this just dead code? All QMARKs should live in their own statements.

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like it. Pushed some more clean up.

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @TIHan

@jakobbotsch jakobbotsch requested a review from TIHan December 16, 2022 18:43
@jakobbotsch jakobbotsch changed the title JIT: Clean up some old style walks JIT: Clean up some old style walks and QMARK validation Dec 16, 2022
@jakobbotsch jakobbotsch merged commit a2b7cd1 into dotnet:main Dec 17, 2022
@jakobbotsch jakobbotsch deleted the new-style-visitors branch December 17, 2022 09:09
@ghost ghost locked as resolved and limited conversation to collaborators Jan 16, 2023
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.

4 participants