RFR: 8334544: C2: wrong control assigned in PhaseIdealLoop::clone_assertion_predicate_for_unswitched_loops()

Roland Westrelin roland at openjdk.org
Wed Jun 19 08:31:19 UTC 2024


There's a minor (and harmless AFAICT) bug in
`PhaseIdealLoop::clone_assertion_predicate_for_unswitched_loops()`. Control
for the new predicate expression is set to `parse_predicate_proj` but
the `If` for the new predicate is created to be above
`parse_predicate_proj`.

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

Commit messages:
 - fix

Changes: https://git.openjdk.org/jdk/pull/19787/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19787&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334544
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19787.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19787/head:pull/19787

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


More information about the hotspot-compiler-dev mailing list