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

Dean Long dlong at openjdk.org
Wed Jun 22 03:42:45 UTC 2022


On Mon, 20 Jun 2022 06:28:54 GMT, Hao Sun <haosun at openjdk.org> wrote:

> Instead of introducing immI_positive, I wonder if we can generate orr dst src for zero shift count, just as the SVE part does

I considered using left-shift by 0, but I don't think it's worth it to optimize this case in the back-end.  If we really want to optimize shift by 0, I think it should be done in the front-end.

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

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


More information about the hotspot-compiler-dev mailing list