[lworld] RFR: 8314190: [lworld] Missing InlineTypeNode re-materialization during type sharpening. [v2]

Jatin Bhateja jbhateja at openjdk.org
Thu Aug 17 11:17:29 UTC 2023


> -  Currently we try to sharpen the object type to a narrower type to optimize object type comparison against a class constant.
>  - This is achieved by inserting a CheckCastPP node which casts the object type to a higher speculative type, if cast type is an inlinetype we need to rematerialize InlineTypeNode from newly casted object which was missing and is fixed by the patch.
> 
> Kindly review.
> 
> Tier1 regressions are clean.
> 
> Best Regards,
> Jatin Bhateja

Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:

  Adding an IR test and review comment resolution.

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/907/files
  - new: https://git.openjdk.org/valhalla/pull/907/files/c69d885f..560d8b69

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=907&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=907&range=00-01

  Stats: 95 lines in 3 files changed: 94 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/907.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/907/head:pull/907

PR: https://git.openjdk.org/valhalla/pull/907



More information about the valhalla-dev mailing list