[llvm-bugs] [Bug 33035] New: [Win][X86][AVX512] Clang crashes in COFF emission for 512bit global variables

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 15 00:21:12 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33035

            Bug ID: 33035
           Summary: [Win][X86][AVX512] Clang crashes in COFF emission for
                    512bit global variables
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: elad2.cohen at intel.com
                CC: llvm-bugs at lists.llvm.org

Compilation with Clang on Windows platform for source with __m512 global
variables crashes during COFF file emission with the error:

fatal error: error in backend: alignment is limited to 32-bytes

(Originates in llvm/MV/WinCOFFStreamer.cpp  function
MCWinCOFFStreamer::EmitCommonSymbol())

Reproducer:

> cat tst.c
#include<intrin.h>

__m512 x;

int main() {
        return 0;
}

>clang -c -march=skylake-avx512 tst.c
fatal error: error in backend: alignment is limited to 32-bytes

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170515/e9b308d2/attachment.html>


More information about the llvm-bugs mailing list