[PATCH] D50819: Add support for AVX-512 CodeView Registers

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 15 16:23:20 PDT 2018


zturner created this revision.
zturner added a reviewer: rnk.
Herald added subscribers: JDevlieghere, hiraditya, aprantl.

AVX-512 introduces 16 new YMM registers, as well as 32 ZMM registers.  These are already in our X86 target register description file, so our code generator was trying to use them, and then failing to find a mapping to the corresponding CodeView registers when emitting debug info.  I pulled these values from the latest version of `cvconst.h` that ships with the DIA SDK.  After making this change, I can recompile an application which was previously crashing, and it no longer crashes.


https://reviews.llvm.org/D50819

Files:
  llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
  llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50819.160939.patch
Type: text/x-patch
Size: 17611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/03b6cfbe/attachment-0001.bin>


More information about the llvm-commits mailing list