Skip to content

Commit

Permalink
Positive list for test2
Browse files Browse the repository at this point in the history
  • Loading branch information
reinrich committed Nov 8, 2024
1 parent c6bac71 commit a7c2872
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
* @test
* @bug 8343068
* @summary C2: CastX2P Ideal transformation not always applied
* @requires os.arch != "ppc64le" & os.arch != "ppc64"
* @modules java.base/jdk.internal.misc
* @library /test/lib /
* @run driver compiler.c2.TestCastX2NotProcessedIGVN
Expand Down Expand Up @@ -63,7 +62,8 @@ public static void test1Runner() {
}

@Test
@IR(counts = {IRNode.LOAD_VECTOR_I, "> 1"})
@IR(counts = {IRNode.LOAD_VECTOR_I, "> 1"},
applyIfPlatformOr = {"x64", "true", "aarch64", "true", "riscv64", "true"})
public static int test2(int stop, int[] array) {
int v = 0;
stop = Math.min(stop, Integer.MAX_VALUE / 4);
Expand Down

0 comments on commit a7c2872

Please sign in to comment.