Integrated: 8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found
Denghui Dong
ddong at openjdk.org
Mon Feb 19 08:37:59 UTC 2024
On Wed, 24 Jan 2024 13:37:05 GMT, Denghui Dong <ddong at openjdk.org> wrote:
> Hi,
>
> Please review the small change that breaks the loop in Canonicalizer::do_LookupSwitch if the successor is found.
>
> The keys of LookupSwitch are sorted, so there is no need to continue the loop once matched.
>
> Thanks.
This pull request has now been integrated.
Changeset: d422811b
Author: Denghui Dong <ddong at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d422811bb7d96d61f7d795ffd4ba84f569a09422
Stats: 12 lines in 1 file changed: 9 ins; 0 del; 3 mod
8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found
Reviewed-by: dlong, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/17553
More information about the hotspot-compiler-dev
mailing list