[flang-commits] [flang] [flang][SystemZ] Fix test failures on s390x for target alignment, endianness and vectorizer remarks (PR #230565)

Ulrich Weigand via flang-commits flang-commits at lists.llvm.org
Tue Oct 13 04:06:19 PDT 2026


uweigand wrote:

As an aside, it would likely be preferable in the long run for the SystemZ back-end to also use an 8 byte preferred alignment for aggregates - as I remember, the original intent of the `a:8:16` line in our data layout string was to *increase* preferred alignment to at least 2, but the actual effect is has today to the *reduce* alignment.

Given that changes in the default data layout string can be a bit tricky and may need coordination across multiple affected packages, I think it would still be good to do this change (using the `AGG_ALIGN` define) now, and look at potentially changing the preferred alignment as a follow-on.

https://github.com/llvm/llvm-project/pull/230565


More information about the flang-commits mailing list