RFR: 8304049: C2 can not merge trivial Ifs due to CastII
Roland Westrelin
roland at openjdk.org
Wed Mar 15 15:56:49 UTC 2023
On Wed, 15 Mar 2023 12:43:59 GMT, Yi Yang <yyang at openjdk.org> wrote:
> For carry_dependency, please let me do more investigation later to make sure they can be safely removed.
`carry_dependency` true or not, removing a Cast node must be done with care as it removes a dependency. There have been numerous bugs over the year when dependencies were simply dropped because they got in the way of some other transformation.
-------------
PR: https://git.openjdk.org/jdk/pull/13039
More information about the hotspot-compiler-dev
mailing list