[PATCH] [CodeGen] Teach X86_64ABIInfo about AVX512.

Ahmed Bougacha ahmed.bougacha at gmail.com
Fri May 22 11:01:22 PDT 2015


- Add OpenMP default alignment for AVX512
- Extract HasAVX/HasAVX512 into a X86_64BaseABIInfo

In r237989 I refactored the "HasAVX" flag to just use the TargetInfo::getABI() string, but I'm tempted to revert, and pass down an additional HasAVX512 flag.  I originally wanted to do the same thing for other targets, but didn't realize that some of the ABIs depend on things not in TargetInfo, e.g. CodeGenOptions, which aren't supposed to be available?

Anyway, opinions welcome, one way or the other.


http://reviews.llvm.org/D9894

Files:
  lib/Basic/Targets.cpp
  lib/CodeGen/TargetInfo.cpp
  test/CodeGen/x86_64-arguments.c
  test/OpenMP/simd_metadata.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9894.26332.patch
Type: text/x-patch
Size: 10476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150522/fc39cd24/attachment.bin>


More information about the cfe-commits mailing list