[PATCH] D12505: [X86] Set MaxVectorAlign for non-Darwin targets as well.

Ahmed Bougacha via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 16:00:56 PDT 2015


ab created this revision.
ab added reviewers: echristo, rnk.
ab added subscribers: alexr, dim, dschuff, tberghammer, cfe-commits.

Follow-up to r246229: this isn't Darwin-specific, so let's enable it for all X86 targets.

Quoting r160209, which introduced it:

```
Currently, if no aligned attribute is specified the alignment of a vector is inferred from its size.  Thus, very large vectors will be over-aligned with no benefit.

```

I tried to cc people for the various OSes we support; if you object or can suggest other reviewers, please do!

http://reviews.llvm.org/D12505

Files:
  lib/Basic/Targets.cpp
  test/CodeGen/const-init.c
  test/CodeGen/vector-alignment.c
  test/CodeGen/x86-vector-alignment.c
  test/CodeGen/x86_64-arguments.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12505.33641.patch
Type: text/x-patch
Size: 13715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150831/764b38bb/attachment-0001.bin>


More information about the cfe-commits mailing list