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

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 04:00:05 PDT 2024


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

I pasted log in a weird way, sorry, all failures in this particular test I see are for Darwin.
```
// MEM256ALIGN16: define{{.*}} <4 x i64> @test_v32u128(ptr noundef byval(<4 x i64>) align 16 %{{.*}}, ptr noundef byval(<2 x i128>) align 16 %{{.*}})
                  ^
// MEM512ALIGN32: define{{.*}} <8 x i64> @test_v64u128(ptr noundef byval(<8 x i64>) align 32 %{{.*}}, ptr noundef byval(<4 x i128>) align 32 %{{.*}})
                  ^
```



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


More information about the cfe-commits mailing list