What is the purpose of loop predication lower bounds check

Cao, Joshua joshcao at amazon.com
Thu Feb 1 19:31:46 UTC 2024


Can I get some help with https://bugs.openjdk.org/browse/JDK-8325146? What is
the purpose of the lower bounds check for loop predication? It seems like an
unnecessary if-check for any example I can come up with.

Whatever the reason might be, I think there are cases in which we can ellide
the lower bounds check, like in the example in the JBS issue.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-compiler-dev/attachments/20240201/50895551/attachment-0001.htm>


More information about the hotspot-compiler-dev mailing list