[PATCH] D75805: Make malign-double effective only for x86

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 09:08:52 PDT 2020


MaskRay added a comment.

`-Xclang -malign-double` passes a CC1 option. This is like poking into the compiler internals. The interface is not stable, and some flags may not make sense (they can be precluded by clang/lib/Driver logic), so I am not sure why it is reported as a bug in the first place.

edit: The problem is that Opts.AlignDouble in TargetInfo.cpp needs some adaptation to make it work for aarch64_32. I will on a patch.


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

https://reviews.llvm.org/D75805





More information about the cfe-commits mailing list