RFR: 8277324: C2 compilation fails with "bad AD file" on x86-32 after JDK-8276162 due to missing match rule

Tobias Hartmann thartmann at openjdk.java.net
Wed Nov 17 09:35:47 UTC 2021


[JDK-8276162](https://bugs.openjdk.java.net/browse/JDK-8276162) introduced an optimization that creates `CMoveI (Bool (CmpUL ...) ...)` shapes but x86-32 misses the corresponding match rules in C2's backend.

I also fixed two comments incorrectly referring to ints instead of ptrs.

Thanks,
Tobias

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

Commit messages:
 - 8277324: C2 compilation fails with "bad AD file" on x86-32 after JDK-8276162 due to missing match rule

Changes: https://git.openjdk.java.net/jdk/pull/6427/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6427&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277324
  Stats: 62 lines in 1 file changed: 60 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6427.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6427/head:pull/6427

PR: https://git.openjdk.java.net/jdk/pull/6427


More information about the hotspot-compiler-dev mailing list