[clang] [clang] Limit alignment for emitted vectors (PR #98629)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 23:36:16 PDT 2024


================
@@ -133,6 +133,7 @@ struct TransferrableTargetInfo {
   unsigned short SuitableAlign;
   unsigned short NewAlign;
   unsigned MaxVectorAlign;
----------------
Fznamznon wrote:

Because `MaxVectorAlign` is set to a smaller value for some x86 targets - https://github.com/llvm/llvm-project/blob/d8f0611acc2658ccc54d985044aa115716c6ad34/clang/lib/Basic/Targets/X86.h#L954 .

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


More information about the cfe-commits mailing list