RFR: 8261308: C2: assert(inner->is_valid_counted_loop(T_INT) && inner->is_strip_mined()) failed: OuterStripMinedLoop should have been removed
Roland Westrelin
roland at openjdk.java.net
Mon Mar 1 08:38:39 UTC 2021
On Thu, 25 Feb 2021 18:08:42 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Yes, would be nice to have tests for 0,1,2 iterations and all 3 types of loops: `for() {}`, `while() {}`, `do {} while()` to verify that they are converted to straight code. It could be done as separate RFE.
I filed https://bugs.openjdk.java.net/browse/JDK-8262721
Sounds like a good candidate for the new testing framework that allows pattern matching on the IR.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2529
More information about the hotspot-compiler-dev
mailing list