Skip to content

Conversation

jakobbotsch
Copy link
Member

Also a small visitor change. Extracted from #79346.

Extracted from early liveness PR. Also small visitor change.
@ghost ghost 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