8343774: Positive list platforms for ir checks of compiler/c2/TestCastX2NotProcessedIGVN.java

Reviewed-by: fyang, amitkumar, roland
This commit is contained in:
Richard Reingruber 2024-11-11 16:35:22 +00:00
parent 6088d620b4
commit 889f906235

View File

@ -62,7 +62,8 @@ public class TestCastX2NotProcessedIGVN {
}
@Test
@IR(counts = {IRNode.LOAD_VECTOR_I, "> 1"})
@IR(counts = {IRNode.LOAD_VECTOR_I, "> 1"},
applyIfPlatformOr = {"x64", "true", "aarch64", "true"})
public static int test2(int stop, int[] array) {
int v = 0;
stop = Math.min(stop, Integer.MAX_VALUE / 4);