[clang] [clang][LoongArch] Align global symbol by size (PR #101309)
Sergei Barannikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 08:20:32 PDT 2024
s-barannikov wrote:
> > This looks wrong. Preferred and ABI alignments should be set in ~Triple~. ADD: Sorry, I meant DataLayout, of course.
>
> Thanks for pointing this out. How does data layout affect the alignment of constant string global variable symbols?
They will be aligned to the preferred alignment specified as Y in the "-a:X:Y" part of the data layout, IIRC.
https://github.com/llvm/llvm-project/pull/101309
More information about the cfe-commits
mailing list