set intAdd MUL_I assertion to 1

This commit is contained in:
katkerem 2026-04-07 20:43:02 +01:00
parent ff9b93333c
commit 0fd1b7c17b

View File

@ -46,7 +46,7 @@ public class TestParallelIvInvariantIncrement {
@Test
@IR(failOn = { IRNode.MUL_I }, phase = CompilePhase.BEFORE_CLOOPS)
@IR(failOn = { IRNode.COUNTED_LOOP })
@IR(counts = { IRNode.MUL_I, ">=1" })
@IR(counts = { IRNode.MUL_I, "=1" })
private static int intAdd(int stop, int inc) {
int a = 0;
for (int i = 0; i < stop; i++) {