[PATCH] [CodeGen] Teach X86_64ABIInfo about AVX512.

Ahmed Bougacha ahmed.bougacha at gmail.com
Wed May 20 13:59:36 PDT 2015


================
Comment at: lib/CodeGen/TargetInfo.cpp:1634-1635
@@ -1630,3 +1633,4 @@
   unsigned getOpenMPSimdDefaultAlignment(QualType) const override {
+    // FIXME: What about AVX512?
     return getABIInfo().hasAVX() ? 32 : 16;
   }
----------------
This I'm not sure;  it makes sense to me to align to 64 when we have AVX512.

There's also the WinX86_64 counterpart, which I'm even less confident about.

http://reviews.llvm.org/D9894

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list