[llvm-bugs] [Bug 35306] New: "error in backend: unknown codeview register" while compiling optimized AVX-512 code
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 14 08:51:20 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35306
Bug ID: 35306
Summary: "error in backend: unknown codeview register" while
compiling optimized AVX-512 code
Product: new-bugs
Version: 5.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: filip.strugar at intel.com
CC: llvm-bugs at lists.llvm.org
Using llvm/clang 5.0, pre-built 64bit binaries with VS2017
The AVX-512 code (-mavx512f -mavx512bw -mavx512dq) compiles in debug but in
release/optimized build dumps out the following error:
1>CL : fatal error : error in backend: unknown codeview register
1>clang-cl.exe : error : clang frontend command failed with exit code 70 (use
-v to see invocation)
1>clang version 5.0.0 (tags/RELEASE_500/final)
1>Target: x86_64-pc-windows-msvc
1>Thread model: posix
1>InstalledDir: C:\Program Files\LLVM\msbuild-bin
1>clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
1>clang-cl.exe: note: diagnostic msg:
1>********************
1>
1>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>Preprocessed source(s) and associated run script(s) are located at:
1>clang-cl.exe: note: diagnostic msg:
C:\Users\fstrugar\AppData\Local\Temp\MaskedOcclusionCullingAVX512-18da46.cpp
1>clang-cl.exe: note: diagnostic msg:
C:\Users\fstrugar\AppData\Local\Temp\MaskedOcclusionCullingAVX512-18da46.sh
1>clang-cl.exe: note: diagnostic msg:
1>
1>********************
The codebase in question is available publicly at
https://github.com/GameTechDev/MaskedOcclusionCulling - the only modification
needed to trigger the compilation bug is to set USE_AVX512 to 1 in
https://github.com/GameTechDev/MaskedOcclusionCulling/blob/master/MaskedOcclusionCulling.h#L78
and compile the Release_LLVM configuration.
--
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/20171114/0365a31d/attachment.html>
More information about the llvm-bugs
mailing list