RFR: 8264958: C2 compilation fails with assert "n is later than its clone"
roland at openjdk.java.net
Fri Apr 16 08:45:06 UTC 2021
JDK-8229483 added logic to hoist a load that would wrongly end up in
an outer strip mined loop. That logic checks that it's legal to do so
but that test passes for n_ctrl == x_head when it's not legal to hoist
the load i.e. the test we want is for strict domination. The fix I
propose is to add an explicit check for that case.
Stats: 58 lines in 2 files changed: 57 ins; 0 del; 1 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3539/head:pull/3539
More information about the hotspot-compiler-dev