Relates :
|
|
Relates :
|
|
Relates :
|
In JDK-8078866, the pre loop is optimized out but the main/post loops are not. If the pre loop’s limit is still an opaque node, then the compiler has not been able to optimize the pre loop based on its limited number of iterations yet. I don’t see what optimization would remove stuff from the pre loop that wouldn’t have removed the same stuff from the initial loop, had it not been cloned. So it should be safe to remove the main and post loops.
|