During loop unswitching `set_flat_array_check_inputs()` merges all
flat array checks into single new `FlatArrayCheck` node. That code
doesn't work if a `FlatArrayCheck` node has more than one
`ArrayOrKlass` input. (that is it's the result of a previous pass of
loop unswitching).

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - whitespaces
 - whitespaces
 - more
 - test & fix

Changes: https://git.openjdk.org/valhalla/pull/2430/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2430&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384364
  Stats: 114 lines in 2 files changed: 110 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/2430.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2430/head:pull/2430

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

Reply via email to