RFR: 8288445: AArch64: C2 compilation fails with guarantee(!true || (true && (shift != 0))) failed: impossible encoding [v5]

Hao Sun haosun at openjdk.org
Mon Jun 27 00:48:53 UTC 2022


On Fri, 24 Jun 2022 07:34:57 GMT, Dean Long <dlong at openjdk.org> wrote:

>> The range for aarch64 vector right-shift is 1 to the element width.  This issue fixes the problem in the back-end.  There is a separate problem in the front-end that shift by 0 is not always optimized out.
>
> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/hotspot/jtreg/compiler/codegen/ShiftByZero.java
>   
>   Co-authored-by: Hao Sun <hao.sun at arm.com>

Marked as reviewed by haosun (Author).

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

PR: https://git.openjdk.org/jdk19/pull/40


More information about the hotspot-compiler-dev mailing list