JDK-8299528 : IR test: TestEor3AArch64.java fails on aarch64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20,21
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: aarch64
  • Submitted: 2023-01-03
  • Updated: 2023-01-09
  • Resolved: 2023-01-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20 JDK 21
20 masterFixed 21Fixed
Related Reports
Relates :  
Description
There have been IR violations when TestEor3AArch64.java IR test is run since the IR nodes to be matched have not been updated to the newer IR framework introduced. 

Errors observed :

Violations (2)
--------------
 - "veor3_neon" is not an IR node defined in class IRNode and has therefore no default compile phase specified.
   If your regex represents a C2 IR node, consider adding an entry to class IRNode together with a static initializer block that adds a mapping to IRNode.IR_NODE_MAPPINGS.
   Otherwise, set the @IR "phase" attribute to a compile phase different from CompilePhase.DEFAULT to explicitly tell the IR framework on which compile phase your rule should be applied on.
   Violation for IR rule 1 at public static void compiler.vectorization.TestEor3AArch64.testLongEor3().
 - "veor3_neon" is not an IR node defined in class IRNode and has therefore no default compile phase specified.
   If your regex represents a C2 IR node, consider adding an entry to class IRNode together with a static initializer block that adds a mapping to IRNode.IR_NODE_MAPPINGS.
   Otherwise, set the @IR "phase" attribute to a compile phase different from CompilePhase.DEFAULT to explicitly tell the IR framework on which compile phase your rule should be applied on.
   Violation for IR rule 1 at public static void compiler.vectorization.TestEor3AArch64.testIntEor3().
/============/
	at compiler.lib.ir_framework.shared.TestFormat.throwIfAnyFailures(TestFormat.java:85)
	at compiler.lib.ir_framework.driver.irmatching.parser.HotSpotPidFileParser.parse(HotSpotPidFileParser.java:76)
	at compiler.lib.ir_framework.driver.irmatching.parser.MethodCompilationParser.parse(MethodCompilationParser.java:54)
	at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:751)
	at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:719)
	at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:339)
	at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:223)
	at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:212)
	at compiler.vectorization.TestEor3AArch64.main(TestEor3AArch64.java:116)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
	at java.base/java.lang.Thread.run(Thread.java:1623)

JavaTest Message: Test threw exception: compiler.lib.ir_framework.shared.TestFormatException
JavaTest Message: shutting down test 
Comments
Changeset: 136f5db0 Author: Bhavana Kilambi <bkilambi@openjdk.org> Committer: Nick Gasson <ngasson@openjdk.org> Date: 2023-01-06 10:04:04 +0000 URL: https://git.openjdk.org/jdk20/commit/136f5db03d664fd77f8042c6f0875dea964ca5e9
06-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk20/pull/83 Date: 2023-01-05 10:37:43 +0000
05-01-2023

ILW = IR test fails because it misses the compile phase IR framework update, single test, no workaround = MLH = P4
03-01-2023