...
Make sure to only hoist if the HoistingFailed exit kind is not present or when the checks are control-flow-equivalent to the loop pre-header.
*** This bug has been marked as a duplicate of bug 144525 ***