[llvm-bugs] [Bug 45443] New: Cannot build with -mavx512f at all

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 6 05:50:52 PDT 2020


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

            Bug ID: 45443
           Summary: Cannot build with -mavx512f at all
           Product: compiler-rt
           Version: 10.0
          Hardware: PC
                OS: Windows 2000
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: Meldaproduction at gmail.com
                CC: llvm-bugs at lists.llvm.org

When -mavx512f is used compiler ends up with this:

fatal error: error in backend: Cannot select: 0x22f21b59260: v64i8 =
BUILD_VECTOR Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>,
Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>,
      Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>,
Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>,
Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>,
Constant:i8<0>,
      Constant:i8<0>, Constant:i8<64>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<0>, Constant:i8<64>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<0>, Constant:i8<64>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<0>,
      Constant:i8<64>, Constant:i8<0>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<64>, Constant:i8<0>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<64>, Constant:i8<0>, Constant:i8<0>, Constant:i8<0>,
Constant:i8<64>,
      Constant:i8<0>, Constant:i8<0>, Constant:i8<0>, Constant:i8<64>,
Constant:i8<0>, Constant:i8<0>, Constant:i8<0>, Constant:i8<64>,
Constant:i8<0>, Constant:i8<0>, Constant:i8<0>, Constant:i8<64>,
Constant:i8<0>,
      Constant:i8<0>, Constant:i8<0>, Constant:i8<64>, Constant:i8<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214dd1f0: i8 = Constant<0>
  0x22f214d2550: i8 = Constant<64>
  0x22f214dd1f0: i8 = Constant<0>
In function:
??$MVectorizeFFStoF at VMOscTransform_Power_Processor_AVX512@@@@YAXAEAVMOscTransform_Power_Processor_AVX512@@PEIAMPEIBM2HHH at Z
Stack dump:
0.      Program arguments: clang++ -D MNOPARAMETERCHECK -D
MELDAPRODUCTIONAUDIOPLUGINKERNEL -D MELDAPRODUCTIONAUDIOPLUGINKERNELV11 -D
MVERSION="14.05c" -D MVERSIONINT=0xE0500 -D NDEBUG -D MLIBRARY_RECOMPILE -D
MLIBRARYDLL -D MPROJECTNAME=MeldaProductionAudioPluginKernelV11 -D
MPROJECTNAMESTRING="MeldaProductionAudioPluginKernelV11" -D MNOASSEMBLER -D
MUNICODE -D MNOGIF -D MNOTIFF -D MINTELIPP -D __GNUC__ -fno-rtti -arch x86_64
-m64 -D MARCHITECTURE_AVX512 -mavx512f -mfma -shared
-ID:/Programming/MLibrary/library/
-ID:/Programming/MLibrary/library/freetype/include
-ID:/Programming/MLibrary/library/zlib -ID:/Programming/MLibrary/library/libpng
-ID:/Programming/MLibrary/library/libtiff
-ID:/Programming/MLibrary/library/libjpeg
-ID:/Programming/MLibrary/library/exiv2
-ID:/Programming/MLibrary/library/giflib
-ID:/Programming/MLibrary/library/bzip2
-ID:/Programming/MLibrary/library/libogg/include
-ID:/Programming/MLibrary/library/libvorbis/include
-ID:/Programming/MLibrary/library/vstsdk3
-ID:/Programming/MLibrary/library/asio/common
-ID:/Programming/MLibrary/library/asio/host
-ID:/Programming/MLibrary/library/asio/host/pc
-ID:/Programming/MLibrary/library/flac/include
-ID:/Programming/MLibrary/library/flac/include/share
-ID:/Programming/MLibrary/library/flac/src/libFLAC/include
-ID:/Programming/MLibrary/library/glew/include
-ID:/Programming/MLibrary/library/glew/src
-ID:/Programming/MLibrary/library/aax/Interfaces
-ID:/Programming/MLibrary/library/aax/Interfaces/ACF
-ID:/Programming/MLibrary/library/fcnn
-ID:/Programming/MLibrary/library/aax/Libs/AAXLibrary/include -IC:/Program
Files (x86)/IntelSWTools/compilers_and_libraries/windows/ipp/include
-IC:/Program Files
(x86)/IntelSWTools/compilers_and_libraries/windows/ipp/include -c -fexceptions
-fvisibility=hidden -fpascal-strings -fasm-blocks -stdlib=libstdc++
-mfpmath=sse -ffast-math -fno-math-errno -Wno-trigraphs
-Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type
-Wno-non-virtual-dtor -Wno-delete-non-virtual-dtor -Wno-overloaded-virtual
-Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses
-Wno-switch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter
-Wno-unused-variable -Wno-unused-value -Wuninitialized -Wno-unknown-pragmas
-Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wshorten-64-to-32
-Wno-newline-eof -Wno-deprecated-declarations -Winvalid-offsetof
-Wno-conversion -Wno-sign-conversion -Wno-comment -Wno-tautological-compare
-Wno-constant-logical-operand -Wno-deprecated-writable-strings
-Wno-c++11-extensions -Wno-unnamed-type-template-args
-Wno-nonportable-include-path -Wno-null-dereference -Wno-microsoft-template
-Wno-pragma-pack -Wno-array-bounds -Wno-gcc-compat
-Wno-unused-command-line-argument -Wno-duplicate-decl-specifier -O3
-fdata-sections -ffunction-sections -ID:/Programming/MLibrary
-ID:/Programming/MDrummer/MDrummer -x c++ -std=gnu++17
D:/Programming/MLibrary/MLibrary/mlibraryAVX512.cpp -o
!temp/ReleaseReleaseLLVMAVX21/MeldaProductionAudioPluginKernelV11/mlibraryAVX512.o
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'D:/Programming/MLibrary/MLibrary/mlibraryAVX512.cpp'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"??$MVectorizeFFStoF at VMOscTransform_Power_Processor_AVX512@@@@YAXAEAVMOscTransform_Power_Processor_AVX512@@PEIAMPEIBM2HHH at Z"'
 #0 0x00007ffdc629a859 (C:\Windows\System32\KERNELBASE.dll+0x3a859)
 #1 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x16b6eca
C:\Program Files\LLVM\bin\clang++.exe 0x16935a3
 #2 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x71f9 C:\Program
Files\LLVM\bin\clang++.exe 0x16bbee7
 #3 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x16bbff3
C:\Program Files\LLVM\bin\clang++.exe 0x1ff79f0
 #4 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1ff6b8f
C:\Program Files\LLVM\bin\clang++.exe 0xb12135
 #5 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1fefa4c
C:\Program Files\LLVM\bin\clang++.exe 0x1fef04f
 #6 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1fee90b
C:\Program Files\LLVM\bin\clang++.exe 0x1fee4c5
 #7 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1febcd6
C:\Program Files\LLVM\bin\clang++.exe 0xb06d64
 #8 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0xfb6bfd
C:\Program Files\LLVM\bin\clang++.exe 0x1198b49
 #9 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1198e03
C:\Program Files\LLVM\bin\clang++.exe 0x1199310
#10 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x18e1cb3
C:\Program Files\LLVM\bin\clang++.exe 0x36ab935
#11 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x28898a3
C:\Program Files\LLVM\bin\clang++.exe 0x1dadb02
#12 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1d70bc0
C:\Program Files\LLVM\bin\clang++.exe 0x1e08ca9
#13 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x6ebf C:\Program
Files\LLVM\bin\clang++.exe 0x4337
#14 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1d0d7c6
C:\Program Files\LLVM\bin\clang++.exe 0x16b6d33
#15 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1d0d00b
C:\Program Files\LLVM\bin\clang++.exe 0x1c311d8
#16 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x1c316d4
C:\Program Files\LLVM\bin\clang++.exe 0x1c1f357
#17 0x00007ff72de26eca C:\Program Files\LLVM\bin\clang++.exe 0x3c93 C:\Program
Files\LLVM\bin\clang++.exe 0x36c74a0
#18 0x00007ff72de26eca (C:\Program Files\LLVM\bin\clang++.exe+0x16b6eca)
#19 0x00007ff72de035a3 (C:\Program Files\LLVM\bin\clang++.exe+0x16935a3)
0x00007FFDC629A859 (0x0000022F11FC8BF0 0x0000000000000000 0x00000000FB710104
0x000020B7C6C7666F), RaiseException() + 0x69 bytes(s)
0x00007FF72DE26ECA (0x00000000FB71B101 0x00000093C49896C0 0x00000093C4989640
0x00000093C49896C0)
0x00007FF72DE035A3 (0x0000000000000000 0x0000022F21DC23E0 0x000020B7C6C7665F
0x00000093C49897B0)
0x00007FF72C7771F9 (0x0000000000000200 0x0000022F21DC23E0 0x00000000FB71B101
0x00007FF72DE20030)
0x00007FF72DE2BEE7 (0x00000093C49897B0 0x00007FF72C90FD5A 0x0000022F21B59260
0x00000093C49897B0)
0x00007FF72DE2BFF3 (0x000020B7C6C764DF 0x0000022F214DCC70 0x0000000000000003
0x0000000000000000)
0x00007FF72E7679F0 (0x0000000000000001 0x0000009300000000 0x00000093C498A150
0x00000093C498A140)
0x00007FF72E766B8F (0x0000000000000000 0x0000000000000000 0xFFFFFFFF00000000
0x0000000000000000)
0x00007FF72D282135 (0xFFFFFFFFFFFFFFF8 0x00007FF72DE28139 0x00000093C498AD90
0x00000093C498AD90)
0x00007FF72E75FA4C (0x00000093C498AFB8 0x0000022F1C8434D0 0x00000093C498B0F8
0x0000022F1C7A7500)
0x00007FF72E75F04F (0x0000000000000000 0x0000022F19E36508 0x0000022F12957CDC
0x00000093C498B3F0)
0x00007FF72E75E90B (0x0000022F1BBCE800 0x00007FF72D70C714 0x0000022F20C50D18
0x0000022F20C50D18)
0x00007FF72E75E4C5 (0x0000000000000000 0x0000000000000000 0x0000022F12957BF0
0x0000022F20B401F8)
0x00007FF72E75BCD6 (0x0000022F00000032 0x00007FF72FE1BD1F 0x0000022F120B0000
0x0000022F1C7D2928)
0x00007FF72D276D64 (0x0000000000000000 0x0000022F2025DA80 0x0000022F1C8F6D50
0x000007B21D1D6FC8)
0x00007FF72D726BFD (0x0000000000000000 0x0000000000000000 0x00000093C498BD80
0x00007FF72D906502)
0x00007FF72D908B49 (0x000020B7C6C74E5F 0x0000022F1877A230 0x0000000000000004
0x000020B7C6C74F3F)
0x00007FF72D908E03 (0x0000001000000000 0x000020B700000000 0x0000000000000000
0x000000000000000F)
0x00007FF72D909310 (0x0000022F1FE415C8 0x0000000000000000 0x000020B7C6C74D2F
0x00007FF72F96A4F0)
0x00007FF72E051CB3 (0x000020B7C6C73E9F 0x00000000000016EC 0x000000008020FC49
0x0000022F11F85BE8)
0x00007FF72FE1B935 (0x00000093C498D638 0x00000093C498D648 0x00000093C498D678
0x00007FF72E4DDD5A)
0x00007FF72EFF98A3 (0x000000010000000E 0x000020B7C6C7229F 0x0000000000000000
0x000000000000000F)
0x00007FF72E51DB02 (0x0000022F11F85570 0x00007FF72FE37283 0x00000000000000C8
0x0000000900000000)
0x00007FF72E4E0BC0 (0x0000022F11F36701 0x0000022F00000000 0x00007FF72FE3AE01
0x0000000000000000)
0x00007FF72E578CA9 (0x00000093C498D8A0 0x00000093C498D8B0 0x00007FF730A9DA42
0x0000000000000008)
0x00007FF72C776EBF (0x0000000000000040 0x00007FFDC9215DB1 0x0000000000000005
0x000000000000003F)
0x00007FF72C774337 (0x0000000000000120 0x0000022F11F33150 0x00000093C498E270
0x00000093C498E258)
0x00007FF72E47D7C6 (0x0000022F11F33150 0x00000093C498E258 0x0000022F11F3B1A0
0x0000022F11F3B1A0)
0x00007FF72DE26D33 (0x0000022F00000000 0x0000022F120B1080 0x00000000000000A8
0x0000022F120B0000)
0x00007FF72E47D00B (0x0000022F11EE0000 0x00007FFDC91FBA17 0x0000022F120B0000
0x00007FF700000000)
0x00007FF72E3A11D8 (0x0000000000000000 0x0000000000000000 0x0000022F11F30340
0x0000000000000025)
0x00007FF72E3A16D4 (0x00007FF72DE27060 0x0000022F11F77240 0x00000093C498F508
0x00007FFDAEAE2787)
0x00007FF72E38F357 (0x0000000043000043 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF72C773C93 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF72FE374A0 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FFDC7D37BD4 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FFDC922CED1 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang++: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
clang++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg:
C:\Users\melda\AppData\Local\Temp\mlibraryAVX512-f46f36.cpp
clang++: note: diagnostic msg:
C:\Users\melda\AppData\Local\Temp\mlibraryAVX512-f46f36.sh
clang++: note: diagnostic msg:

********************
Command returned 70

-- 
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/20200406/740a1d56/attachment-0001.html>


More information about the llvm-bugs mailing list