RFR: 8265244: Remove useless comparation in LibraryCallKit::inline_vector_convert() [v2]

Wang Huang whuang at openjdk.java.net
Fri Apr 30 08:30:53 UTC 2021


On Fri, 30 Apr 2021 08:01:32 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Wang Huang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>> 
>>  - Merge branch 'master' into JDK-8265244
>>  - 8265244: assert(false) failed: bad AD file
>
> src/hotspot/share/opto/vectorIntrinsics.cpp line 1452:
> 
>> 1450:       // Since input and output number of elements are not consistent, we need to make sure we
>> 1451:       // properly size. Thus, first make a cast that retains the number of elements from source.
>> 1452:       // In case the size exceeds the arch size, we do the minimum.
> 
> If you're going to remove the MIN2 you must also change this comment.

Sure. I will remove that in next commit.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3507


More information about the hotspot-compiler-dev mailing list