RFR: 8314191: C2 compilation fails with "bad AD file" [v2]

Quan Anh Mai qamai at openjdk.org
Mon Sep 4 12:33:20 UTC 2023


> Hi,
> 
> The root cause is that the comparison in the form `x + inc <=> bound` being transformed into `x u<=> bound - min_value` when `inc` is the min value of the loop type. The fix I propose is to avoid the transformation when either side is a counted loop increment.
> 
> Thanks a lot.

Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:

  TraceLoopOpt not needed

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15551/files
  - new: https://git.openjdk.org/jdk/pull/15551/files/65329f4e..9a6b5f17

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15551.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15551/head:pull/15551

PR: https://git.openjdk.org/jdk/pull/15551


More information about the hotspot-compiler-dev mailing list