RFR: 8263707: C1 RangeCheckEliminator support constant array and NewMultiArray [v2]
Hui Shi
hshi at openjdk.java.net
Wed Mar 24 03:39:00 UTC 2021
On Tue, 23 Mar 2021 06:54:52 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> Hui Shi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add testcase and merge ifs
>
> src/hotspot/share/c1/c1_Canonicalizer.cpp line 251:
>
>> 249: set_constant(length->type()->as_IntConstant()->value());
>> 250: } else if ((nma = x->array()->as_NewMultiArray()) != NULL) {
>> 251: if ((length = nma->dims()->at(0)->as_Constant()) != NULL) {
>
> The ifs could be merged.
ifs are merged in updated commit
-------------
PR: https://git.openjdk.java.net/jdk/pull/3041
More information about the hotspot-compiler-dev
mailing list