[jdk17u-dev] RFR: 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top

Goetz Lindenmaier goetz at openjdk.org
Tue Jan 17 17:27:14 UTC 2023


I backport this for parity with 17.0.7-oracle.

I had to place the call to push_cast_ii by hand.
In head, PhaseCCP::analyze() is refactored. 
I also took push_if_not_bottom_type() from head
to make it as similar as possible.

-------------

Commit messages:
 - Backport a57392390b0abe5db496775efcc369bafdf420f1

Changes: https://git.openjdk.org/jdk17u-dev/pull/1078/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1078&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297264
  Stats: 90 lines in 3 files changed: 89 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1078.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/1078/head:pull/1078

PR: https://git.openjdk.org/jdk17u-dev/pull/1078


More information about the jdk-updates-dev mailing list