-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8344116: C2: remove slice parameter from LoadNode::make #24258
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
Conversation
|
👋 Welcome back linzihao1999! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@linzihao1999 The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
/label add hotspot-compiler |
|
@chhagedorn |
|
@linzihao1999 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
Hi @TobiHartmann , Could you please take a look? Thank you. |
| PhaseGVN& gvn = opt_access.gvn(); | ||
| Node* mem = mm->memory_at(gvn.C->get_alias_index(adr_type)); | ||
| load = LoadNode::make(gvn, control, mem, adr, adr_type, val_type, access.type(), mo, dep, | ||
| Node* mem = mm->memory_at(gvn.C->get_alias_index(access.addr().type())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get rid of all uses of access.addr().type()?
| // stores. In theory we could relax the load from ctrl() to | ||
| // no_ctrl, but that doesn't buy much latitude. | ||
| Node* card_val = __ load( __ ctrl(), card_adr, TypeInt::BYTE, T_BYTE, adr_type); | ||
| Node* card_val = __ load( __ ctrl(), card_adr, TypeInt::BYTE, T_BYTE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could asssert that C->get_alias_index(kit->type(card_adr) == Compile::AliasIdxRaw, that is that computed slice is the same as hardcoded slide. Similar asserts could be added for every location where a slice/address type is removed in this patch.
|
@linzihao1999 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
@linzihao1999 This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
This patch remove slice parameter from LoadNode::make
Mention in #21834 (review)
Hi team, I am new, I'd appreciate any guidance. Thank a lot!
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24258/head:pull/24258$ git checkout pull/24258Update a local copy of the PR:
$ git checkout pull/24258$ git pull https://git.openjdk.org/jdk.git pull/24258/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24258View PR using the GUI difftool:
$ git pr show -t 24258Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24258.diff
Using Webrev
Link to Webrev Comment