8375010: C2 VectorAPI: assert(vbox->is_CheckCastPP()) failed: should be expanded#426
8375010: C2 VectorAPI: assert(vbox->is_CheckCastPP()) failed: should be expanded#4260zzy0sbourne wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back 0zzy0sbourne! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issues from the original commit. |
|
|
|
/approval request for backport of JDK-8375010: C2 VectorAPI: assert(vbox->is_CheckCastPP()) failed: should be expanded. This is a bug where |
|
@0zzy0sbourne |
|
Hi @officialmclars, thanks for making a comment in an OpenJDK project! All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please Use "Add GitHub user officialmclars" for the summary. If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.
Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use. |
|
@officialmclars Only the author (@0zzy0sbourne) is allowed to issue the |
This is a backport of JDK-8375010
The check
vect->is_Vector() || vect->is_LoadVector()in expand_vbox_node_helper does not handleProjnodes that resolve to vector types, causing an assertion failure when such nodes flow through aPhiintoVectorBox. The fix handles these two additional cases (VectorBox inside a Phi or Proj node), preventing the assert crash.Tested:
VectorBoxExpandPhi.javaandVectorBoxExpandProj.javapass.Progress
Issues
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/426/head:pull/426$ git checkout pull/426Update a local copy of the PR:
$ git checkout pull/426$ git pull https://git.openjdk.org/jdk25u-dev.git pull/426/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 426View PR using the GUI difftool:
$ git pr show -t 426Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/426.diff
Using Webrev
Link to Webrev Comment