The control input for an array load is set to the range check that guarantees it's within bound. If the range check is proven to always succeed, then an array load gets some unrelated control as first input. It should have a null control instead so it can freely float.
- relates to
-
JDK-8323274 C2: array load may float above range check
- Closed