[PATCH] D38480: CodeView: Provide a .def file with the register ids
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 17:18:29 PDT 2017
hans added inline comments.
================
Comment at: include/llvm/DebugInfo/CodeView/CodeViewRegisters.def:240
+
+CV_REGISTER(AMD64_XMM8, 252)
+CV_REGISTER(AMD64_XMM9, 253)
----------------
rnk wrote:
> Does anything prevent us from removing the AMD64_ prefix?
cvconst.h has both CV_REG_YMM0 (252) and CV_AMD64_YMM0 (368).
I dropped the CV_REG_YMM* ones, because 252 is also CV_AMD64_XMM8, and with duplicate names we can't build switch cases from this.
I suppose we could drop the prefix, but I figured there's some value in being closer to the original names maybe :-/
https://reviews.llvm.org/D38480
More information about the llvm-commits
mailing list