RFR: 8303105: LoopRangeStrideTest fails IR verification on x86
Tobias Hartmann
thartmann at openjdk.org
Thu Mar 9 10:28:16 UTC 2023
On Thu, 9 Mar 2023 10:08:51 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
> 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.
Looks good and trivial.
-------------
Marked as reviewed by thartmann (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12938
More information about the hotspot-compiler-dev
mailing list