[PATCH] D140123: [TLS] Clamp the alignment of TLS global variables if required by the target

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 15:56:55 PST 2022


wolfgangp added a comment.

In D140123#4000196 <https://reviews.llvm.org/D140123#4000196>, @arsenm wrote:

> I feel this is too specific and doesn't belong in the datalayout. I think a general maximum global alignment would make a bit more sense? I know very little about object formats

Another way would be to add an entry into the target options, perhaps. A little less general, but it doesn't look like other platforms suffer from this restriction.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140123/new/

https://reviews.llvm.org/D140123



More information about the llvm-commits mailing list