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

Disable regDepCopyRemoval when value types are enabled #5250

Merged
merged 1 commit into from
May 28, 2020

Conversation

Leonardo2718
Copy link
Contributor

In OpenJ9, the implementation of value types does not behave well with regDepCopyRemoval. Specifically, the ifacmp{eq,ne} operations rely on lowering that requires basic block splitting after GRA. RegDepCopyRemoval currently leaves the trees in a state that the post GRA block splitter cannot handle. So, for now, the optimization is disabled.

eclipse-openj9/openj9#9712 was opened to track the work to re-enable the optimization.

Unfortunately, the design of the option processing framework requires the disabling code to be in OMR (rather than OpenJ9) and guarded with J9_PROJECT_SPECIFIC.

Signed-off-by: Leonardo Banderali [email protected]

@Leonardo2718
Copy link
Contributor Author

Note to the reviewers: since this change is guarded with J9_PROJECT_SPECIFIC, ci builds won't exercise it.

In OpenJ9, the implementation of value types does not behave well with
regDepCopyRemoval. Specifically,  the ifacmp{eq,ne} operations rely on
lowering that requires basic block splitting after GRA.
RegDepCopyRemoval currently leaves the trees in a state that the post
GRA block splitter cannot handle. So, for now, the optimization is
disabled.

eclipse-openj9/openj9#9712 was opened to track the
work to re-enable the optimization.

Unfortunately, the design of the option processing framework requires
the disabling code to be in OMR (rather than OpenJ9) and guarded
with J9_PROJECT_SPECIFIC.

Signed-off-by: Leonardo Banderali <[email protected]>
@andrewcraik
Copy link
Contributor

@genie-omr build all

@andrewcraik
Copy link
Contributor

@genie-omr build win

@Leonardo2718
Copy link
Contributor Author

FYI @andrewcraik it looks like all the builds have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants