Skip to content

Comments

JIT: rename flowList to FlowEdge and encapsulate all fields#81621

Merged
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:FlowListRevamp1
Feb 7, 2023
Merged

JIT: rename flowList to FlowEdge and encapsulate all fields#81621
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:FlowListRevamp1

Conversation

@AndyAyersMS
Copy link
Member

Restructure this type in anticipation of modifying how it represents data. Rename some of the fields (and now related accessor methods) because subsequent changes may do things like add the target block or successor edge links.

Also, remove some stray references to fgComputePreds

Restructure this type in anticipation of modifying how it represents data.
Rename some of the fields (and now related accessor methods) because subsequent
changes may do things like add the target block or successor edge links.

Also, remove some stray references to fgComputePreds
@ghost ghost assigned AndyAyersMS Feb 3, 2023
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 3, 2023
@ghost
Copy link

ghost commented Feb 3, 2023

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

Issue Details

Restructure this type in anticipation of modifying how it represents data. Rename some of the fields (and now related accessor methods) because subsequent changes may do things like add the target block or successor edge links.

Also, remove some stray references to fgComputePreds

Author: AndyAyersMS
Assignees: AndyAyersMS
Labels:

area-CodeGen-coreclr

Milestone: -

@AndyAyersMS
Copy link
Member Author

@TIHan PTAL
cc @dotnet/jit-contrib

Largely mechanical renaming/reformatting. Should be no diff.

@AndyAyersMS AndyAyersMS requested a review from TIHan February 3, 2023 23:30
@AndyAyersMS AndyAyersMS mentioned this pull request Feb 4, 2023
44 tasks
FlowEdge* const newEdge = fgAddRefPred(newTarget, blockSwitch);

// Now set the correct value of newEdge->flDupCount
// Now set the correct value of newEdge's lDupCount
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: DupCount? or m_dupCount?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops. Will fix this as part of an upcoming PR.

@AndyAyersMS AndyAyersMS merged commit 343a6ee into dotnet:main Feb 7, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 9, 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.

2 participants