Skip to content

8305055: IR check fails on some aarch64 platforms #13236

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

Closed
wants to merge 2 commits into from

Conversation

fg1417
Copy link

@fg1417 fg1417 commented Mar 30, 2023

As @eme64 said in [1], JDK-8298935 introduced some "collateral damage", disabling the vectorization of some conversions when +AlignVector. That affects IR checks of TestVectorizeTypeConversion.java and ArrayTypeConvertTest.java on some aarch64 platforms like ThunderX and ThunderX2 [2].

This trivial patch is to allow IR check only when we have -AlignVector.

[1] #12350 (comment)
[2]


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8305055: IR check fails on some aarch64 platforms

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13236/head:pull/13236
$ git checkout pull/13236

Update a local copy of the PR:
$ git checkout pull/13236
$ git pull https://git.openjdk.org/jdk.git pull/13236/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13236

View PR using the GUI difftool:
$ git pr show -t 13236

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13236.diff

As @eme64 said in [1], JDK-8298935 introduced some "collateral
damage", disabling the vectorization of some conversions when
`+AlignVector`. That affects IR checks of
TestVectorizeTypeConversion.java and ArrayTypeConvertTest.java
on some aarch64 platforms like ThunderX and ThunderX2 [2].

This trivial patch is to allow IR check only when we have
"-AlignVector".

[1] openjdk#12350 (comment)
[2] https://github.com/openjdk/jdk/blob/7239150f8aff0e3dc07c5b27f6b7fb07237bfc55/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp#L154
@bridgekeeper
Copy link

bridgekeeper bot commented Mar 30, 2023

👋 Welcome back fgao! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Mar 30, 2023
@openjdk
Copy link

openjdk bot commented Mar 30, 2023

@fg1417 The following label will be automatically applied to this pull request:

  • hotspot-compiler

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the hotspot-compiler hotspot-compiler-dev@openjdk.org label Mar 30, 2023
@mlbridge
Copy link

mlbridge bot commented Mar 30, 2023

Webrevs

@eme64
Copy link
Contributor

eme64 commented Mar 30, 2023

@fg1417 Thanks for doing this.
I guess this is only a temporary solution?
We should revert this change when we fix JDK-8303827. I added a comment to that RFE.

@eme64
Copy link
Contributor

eme64 commented Mar 30, 2023

@fg1417 Maybe rather than mentioning JDK-8298935 in the test, you could mention that we can remove it after JDK-8303827.

Copy link
Contributor

@eme64 eme64 left a comment

Choose a reason for hiding this comment

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

Otherwise looks good.

Copy link
Member

@TobiHartmann TobiHartmann left a comment

Choose a reason for hiding this comment

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

+1 to Emanuel's suggestion. Looks good to me otherwise.

@openjdk
Copy link

openjdk bot commented Mar 30, 2023

@fg1417 This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8305055: IR check fails on some aarch64 platforms

Reviewed-by: epeter, thartmann

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 4 new commits pushed to the master branch:

  • 2c38e67: 8302644: IGV: Apply filters per graph tab and not globally
  • f0dba21: 8304871: Use default visibility for static library builds
  • 77811fa: 8305222: Change unique_ctrl_out_or_null to unique_ctrl_out in PhaseCFG::convert_NeverBranch_to_Goto
  • 2d607c9: 8262294: java/net/httpclient/ProxyAuthDisabledSchemes.java fails with HTTP/1.1 parser received no bytes

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 30, 2023
@fg1417
Copy link
Author

fg1417 commented Mar 30, 2023

Thanks for your kind review and suggestion, @eme64 @TobiHartmann . Updated the comments in the new commit.

@fg1417
Copy link
Author

fg1417 commented Mar 31, 2023

The GHA failure of runtime/ErrorHandling/TestDwarf is not related to this PR. I'll integrate it.

@fg1417
Copy link
Author

fg1417 commented Mar 31, 2023

/integrate

@openjdk
Copy link

openjdk bot commented Mar 31, 2023

Going to push as commit dea9db2.
Since your change was applied there have been 16 commits pushed to the master branch:

  • c8f3a97: 8305171: PPC: Should use IMA::load_resolved_indy_entry() in TIG::generate_return_entry_for()
  • 7fe5bd2: 8305174: disable dtrace for s390x builds
  • 787832a: 8304988: unnecessary dash in @param gives double-dash in docs
  • a144c71: 8305008: RISC-V: Factor out immediate checking functions from assembler_riscv.inline.hpp
  • d815889: 8304993: bad sentence break in DateFormat
  • 5f7b4b8: 8305111: Locale.lookupTag has typo in parameter
  • 83cf28f: 8305142: Can't bootstrap ctw.jar
  • 05cc02b: 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration)
  • d2df36b: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null)
  • 1d7bb1f: 8304585: Method::invoke rewraps InvocationTargetException if a caller-sensitive method throws IAE
  • ... and 6 more: https://git.openjdk.org/jdk/compare/b3ff8d1c89b0f968b7b5ec2105502778524e4e4a...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 31, 2023
@openjdk openjdk bot closed this Mar 31, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 31, 2023
@openjdk
Copy link

openjdk bot commented Mar 31, 2023

@fg1417 Pushed as commit dea9db2.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-compiler hotspot-compiler-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants