RFR: 8303105: LoopRangeStrideTest fails IR verification on x86
Jatin Bhateja
jbhateja at openjdk.org
Thu Mar 9 10:18:09 UTC 2023
SLP fails to recognize valid address expression during SWPointer creation for memory operands with 32 bit jvm, this prevents gathering adjacent memory operations.
Debug trace with -XX:+TraceSuperWord -XX:+TraceNewVectors -XX:CompileCommand=VectorizeDebug,<method>,3 shows following errors .
SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
SWPointer::memory_alignment: SWPointer p invalid, return bottom_align
Problem also exist in JDK17 LTS. As an interim solution to prevent this showing up as a GHA test failure, we can enable the test only for x86_64 and aarch64 targets. Difference in address expression b/w X86 32 and 64 bit jvm will be root caused in follow issue JDK-8303885.
-------------
Commit messages:
- 8303105: LoopRangeStrideTest fails IR verification on x86
Changes: https://git.openjdk.org/jdk/pull/12938/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12938&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303105
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/12938.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12938/head:pull/12938
PR: https://git.openjdk.org/jdk/pull/12938
More information about the hotspot-compiler-dev
mailing list