There are two problems with IRNode.ALLOC_ARRAY* regexes:
- On PPC64, we do not account for an LI instruction which matches the array size. As a result, we could miss some array allocations with the ALLOC_ARRAY regexes
- The new IRNode.ALLOC regex which can be matched on the independent ideal phases by using the name of the IR node "Allocate" also matches "AllocateArray". This should be changed.
Original report:
Since JDK-8280378, the test testlibrary_tests/ir_framework/tests/TestPhaseIRMatching.java reports:
"Expected Failures" WITHOUT "Found Failures":
Failure[methodName=alloc, irRuleId=1, compilePhase=PRINT_OPTO_ASSEMBLY, checkAttributeType=FAIL_ON, constraintId=2]
Failure[methodName=alloc, irRuleId=1, compilePhase=PRINT_OPTO_ASSEMBLY, checkAttributeType=COUNTS, constraintId=2]
"Found Failures" WITHOUT "Expected Failures":
[]