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

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 20:52:01 PDT 2024


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

Right, sorry for the misleading. We still need to turn it to sret when vector size > 2^14. Then why you observed the changes in `CodeGen/X86/x86-vec-i128.c`? `<4 x i64>` is far less than the limitation.

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


More information about the cfe-commits mailing list