Skip to content

Commit 8cd298b

Browse files
committed
Update IR framework test to check for non-zero count of PopCountVL
1 parent 1892c37 commit 8cd298b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public TestPopCountVectorLong() {
5555

5656
@Test // needs to be run in (fast) debug mode
5757
@Warmup(10000)
58-
@IR(counts = {"PopCountVL", "9"}) //9 PopCountVL nodes are generated for a long[] of LEN=1024
58+
@IR(counts = {"PopCountVL", ">= 1"}) // Atleast one PopCountVL node is generated if vectorization is successful
5959
public void vectorizeBitCount() {
6060
for (int i = 0; i < LEN; ++i) {
6161
output[i] = Long.bitCount(input[i]);

0 commit comments

Comments
 (0)