-
Bug
-
Resolution: Fixed
-
P2
-
21
-
b07
-
x86_64
-
os_x
We just discovered some intermittent IR Test failures for these tests:
compiler/vectorization/runner/LoopReductionOpTest.java
compiler/vectorization/runner/LoopArrayIndexComputeTest.java
compiler/vectorization/runner/ArrayTypeConvertTest.java
compiler/vectorization/runner/ArrayShiftOpTest.java
(more tests may be affected)
They all have edited IR Rules withJDK-8298632.
https://git.openjdk.org/jdk/pull/11687
https://git.openjdk.org/jdk/commit/715b509f3d3dd2e8ef75f8e710becc959dd538e0
------------------------------------------------------------------------------
Example failure for LoopReductionOpTest.java:
Failed IR Rules (3) of Methods (2)
----------------------------------
1) Method "public int compiler.vectorization.runner.LoopReductionOpTest.reductionAddSumOfMultiple()" - [Failed IR rules: 2]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sve", "true", "sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#LOAD_VECTOR#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 2: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sve", "true", "sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#ADD_REDUCTION_V#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(AddReductionV(B|S|I|L|F|D).*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
2) Method "public long compiler.vectorization.runner.LoopReductionOpTest.reductionWithNonReductionDifferentSizes()" - [Failed IR rules: 1]:
* @IR rule 2: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#ADD_REDUCTION_V#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(AddReductionV(B|S|I|L|F|D).*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
compiler/vectorization/runner/LoopReductionOpTest.java
compiler/vectorization/runner/LoopArrayIndexComputeTest.java
compiler/vectorization/runner/ArrayTypeConvertTest.java
compiler/vectorization/runner/ArrayShiftOpTest.java
(more tests may be affected)
They all have edited IR Rules with
https://git.openjdk.org/jdk/pull/11687
https://git.openjdk.org/jdk/commit/715b509f3d3dd2e8ef75f8e710becc959dd538e0
------------------------------------------------------------------------------
Example failure for LoopReductionOpTest.java:
Failed IR Rules (3) of Methods (2)
----------------------------------
1) Method "public int compiler.vectorization.runner.LoopReductionOpTest.reductionAddSumOfMultiple()" - [Failed IR rules: 2]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sve", "true", "sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#LOAD_VECTOR#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 2: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sve", "true", "sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#ADD_REDUCTION_V#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(AddReductionV(B|S|I|L|F|D).*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
2) Method "public long compiler.vectorization.runner.LoopReductionOpTest.reductionWithNonReductionDifferentSizes()" - [Failed IR rules: 1]:
* @IR rule 2: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfCPUFeatureAnd={}, applyIfCPUFeatureOr={"sse2", "true"}, applyIf={}, applyIfCPUFeature={}, counts={"_#ADD_REDUCTION_V#_", ">0"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(AddReductionV(B|S|I|L|F|D).*)+(\\s){2}===.*)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
- relates to
-
JDK-8298632 [TESTBUG] Add IR checks in jtreg vectorization tests
-
- Resolved
-
- links to
-
Commit openjdk/jdk/7ced08d4
-
Review(master) openjdk/jdk/12124