RFR: 8278584: compiler/vectorapi/VectorMaskLoadStoreTest.java failed with "Error: ShouldNotReachHere()" [v3]

Jie Fu jiefu at openjdk.java.net
Mon Dec 13 11:40:34 UTC 2021


On Mon, 13 Dec 2021 10:25:11 GMT, Mai Đặng Quân Anh <duke at openjdk.java.net> wrote:

> Hi, unfortunately, the tests still don't verify the correctness of the compiled codes, what happened here is that the `IfNode` always goes in one direction make the other path an uncommon trap, the uncommon trap captures all nodes before it including the `VectorLongToMaskNode`, thus throw `ShouldNotReachHere` when trying to emit instructions. The result of the `VectorLongToMaskNode`, however, is only used to feed into the uncommon trap and not used in verification at all.

Nice catch! @merykitty 
What do you think of the updated version? 
Thanks.

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

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


More information about the hotspot-compiler-dev mailing list