RFR: 8271589: fatal error with variable shift count integer rotate operation. [v2]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Tue Aug 3 17:25:33 UTC 2021


On Tue, 3 Aug 2021 01:58:54 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Problem seen on targets which do not support variable vector shifts, in such a case vector rotation node inferred by auto-vectorizer are not disintegrable into LeftShift/RightShift and Or operations.
>
> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8271589: Removing redundant assert.

src/hotspot/share/opto/vectornode.cpp line 1174:

> 1172:       }
> 1173:     }
> 1174:     shiftRCnt = cnt;

This seems redundant. shiftRCnt is being overwritten in the very next statement.

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

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


More information about the hotspot-compiler-dev mailing list