Skip to content

8360304: Redundant condition in LibraryCallKit::inline_vector_nary_operation #26606

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fandreuz
Copy link
Contributor

@fandreuz fandreuz commented Aug 2, 2025

The check for sopc != 0 is not needed after JDK-8353786, the function would exit at L374 otherwise.

Passes tier1.


Progress

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

Issue

  • JDK-8360304: Redundant condition in LibraryCallKit::inline_vector_nary_operation (Enhancement - P3)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 26606

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 2, 2025

👋 Welcome back fandreuz! 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
Copy link

openjdk bot commented Aug 2, 2025

@fandreuz This change is no longer ready for integration - check the PR body for details.

@openjdk openjdk bot changed the title JDK-8360304: Redundant condition in LibraryCallKit::inline_vector_nary_operation 8360304: Redundant condition in LibraryCallKit::inline_vector_nary_operation Aug 2, 2025
@openjdk openjdk bot added the rfr Pull request is ready for review label Aug 2, 2025
@openjdk
Copy link

openjdk bot commented Aug 2, 2025

@fandreuz 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 Aug 2, 2025
@mlbridge
Copy link

mlbridge bot commented Aug 2, 2025

Webrevs

Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

Looks fine, but I think you want to run vector tests to be extra sure.

jdk/test/jdk/TEST.groups

Lines 402 to 403 in 83953c4

jdk_vector = \
jdk/incubator/vector

@fandreuz
Copy link
Contributor Author

fandreuz commented Aug 7, 2025

Looks fine, but I think you want to run vector tests to be extra sure.

jdk/test/jdk/TEST.groups

Lines 402 to 403 in 83953c4

jdk_vector = \
jdk/incubator/vector

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
   jtreg:test/jdk:jdk_vector                            83    81     0     0     2
==============================
TEST SUCCESS

Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@iwanowww: from the code history, it looks like you added the check we are now depending on, could you please take a look as well? Thanks!

/reviewers 2

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Aug 8, 2025
@openjdk
Copy link

openjdk bot commented Aug 8, 2025

@shipilev
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Aug 8, 2025
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 rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants