RFR: 8318446: C2: implement StoreNode::Ideal_merge_stores
Emanuel Peter
epeter at openjdk.org
Wed Jan 17 15:12:54 UTC 2024
On Wed, 17 Jan 2024 14:52:15 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> Wouldn't the first store in a chain of 3 stores have a use at the 2nd and 3rd range checks and so wouldn't sink?
Sure, if there are actually more than 2 RangeChecks. But if the stores are all adjacent, then I would hope that the RangeChecks get smeared, and so we only have 2 left, right? The first before the stores, and the second before the second store. And so only the first store should have other uses. Do you agree?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16245#issuecomment-1896011657
More information about the hotspot-compiler-dev
mailing list