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

8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure #495

Closed
wants to merge 2 commits into from

Conversation

GoeLin
Copy link
Member

@GoeLin GoeLin commented Jun 22, 2022

I backport this for parity with 17.0.5-oracle.

I had to resolve the removal of the assertion in superword.cpp


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev pull/495/head:pull/495
$ git checkout pull/495

Update a local copy of the PR:
$ git checkout pull/495
$ git pull https://git.openjdk.org/jdk17u-dev pull/495/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 495

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/495.diff

@GoeLin GoeLin changed the base branch from master to pr/494 June 22, 2022 08:29
@bridgekeeper
Copy link

bridgekeeper bot commented Jun 22, 2022

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

@GoeLin GoeLin changed the title Goetz backport 8286177 Backport 6458a56e60472fb2fbe8fa60bbc856dc95f50f07 Jun 22, 2022
@openjdk openjdk bot changed the title Backport 6458a56e60472fb2fbe8fa60bbc856dc95f50f07 8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure Jun 22, 2022
@openjdk
Copy link

openjdk bot commented Jun 22, 2022

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport clean rfr Pull request is ready for review labels Jun 22, 2022
@mlbridge
Copy link

mlbridge bot commented Jun 22, 2022

Webrevs

@GoeLin
Copy link
Member Author

GoeLin commented Jun 23, 2022

Pre-submit failure: infra issue

@openjdk-notifier openjdk-notifier bot changed the base branch from pr/494 to master June 24, 2022 08:04
@openjdk-notifier
Copy link

The dependent pull request has now been integrated, and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:

git checkout goetz_backport_8286177
git fetch https://git.openjdk.org/jdk17u-dev master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk openjdk bot removed the clean label Jun 24, 2022
@GoeLin
Copy link
Member Author

GoeLin commented Jun 24, 2022

/clean
Change was clean before Skara resolved the dependent pull request

@openjdk openjdk bot added the clean label Jun 24, 2022
@openjdk
Copy link

openjdk bot commented Jun 24, 2022

@GoeLin This backport pull request is now marked as clean

@GoeLin
Copy link
Member Author

GoeLin commented Jun 24, 2022

Pre-submit failure: infra issue

@openjdk
Copy link

openjdk bot commented Jun 24, 2022

@GoeLin 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:

8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure

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 22 new commits pushed to the master branch:

  • dd7ab3d: 8280696: C2 compilation hits assert(is_dominator(c, n_ctrl)) failed
  • 3269cec: 8286870: Memory leak with RepeatCompilation
  • 47e478d: 8279622: C2: miscompilation of map pattern as a vector reduction
  • d90fd6f: 8282937: Write a regression test for JDK-4820080
  • 270a474: 8211002: test/jdk/java/lang/Math/PowTests.java skips testing for non-corner-case values
  • 6f0f842: 8286582: Build fails on macos aarch64 when using --with-zlib=bundled
  • 68456bb: 8288754: GCC 12 fails to build zReferenceProcessor.cpp
  • 72603ff: 8288303: C1: Miscompilation due to broken Class.getModifiers intrinsic
  • a2be28d: 8283457: [macos] libpng build failures with Xcode13.3
  • a411085: 8285081: Improve XPath operators count accuracy
  • ... and 12 more: https://git.openjdk.org/jdk17u-dev/compare/50c0080689d7971162669d72cf5e21cfd3bc2321...master

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 Jun 24, 2022
@GoeLin
Copy link
Member Author

GoeLin commented Jun 24, 2022

/integrate

@openjdk
Copy link

openjdk bot commented Jun 24, 2022

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

  • dd7ab3d: 8280696: C2 compilation hits assert(is_dominator(c, n_ctrl)) failed
  • 3269cec: 8286870: Memory leak with RepeatCompilation
  • 47e478d: 8279622: C2: miscompilation of map pattern as a vector reduction
  • d90fd6f: 8282937: Write a regression test for JDK-4820080
  • 270a474: 8211002: test/jdk/java/lang/Math/PowTests.java skips testing for non-corner-case values
  • 6f0f842: 8286582: Build fails on macos aarch64 when using --with-zlib=bundled
  • 68456bb: 8288754: GCC 12 fails to build zReferenceProcessor.cpp
  • 72603ff: 8288303: C1: Miscompilation due to broken Class.getModifiers intrinsic
  • a2be28d: 8283457: [macos] libpng build failures with Xcode13.3
  • a411085: 8285081: Improve XPath operators count accuracy
  • ... and 12 more: https://git.openjdk.org/jdk17u-dev/compare/50c0080689d7971162669d72cf5e21cfd3bc2321...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Jun 24, 2022

@GoeLin Pushed as commit caceaba.

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

@GoeLin GoeLin deleted the goetz_backport_8286177 branch June 24, 2022 09:37
@GoeLin GoeLin restored the goetz_backport_8286177 branch June 27, 2022 07:53
@GoeLin GoeLin deleted the goetz_backport_8286177 branch November 4, 2022 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean integrated Pull request has been integrated
1 participant