[PATCH] D39521: [x86 TargetInfo] Pull CPU handling for the x86 TargetInfo into a .def file.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 16:41:28 PDT 2017


erichkeane created this revision.

In anticipation of multiversioned target support (and just for
code sanity), this patch extracts as much of the X86 TargetInfo
CPU values into its own file, unifying the support.

This has the side-effect of being a touch more liberal in what it
accepts than GCC, though will normalize all values to the backend
to a much smaller list.

Note that this depends on a llvm change to 86.td that Craig promises
he'll do in the near future.


https://reviews.llvm.org/D39521

Files:
  include/clang/Basic/TargetInfo.h
  include/clang/Basic/X86Target.def
  lib/Basic/Targets/X86.cpp
  lib/Basic/Targets/X86.h
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCall.cpp
  test/CodeGen/attr-target-x86.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39521.121209.patch
Type: text/x-patch
Size: 32966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171101/dbcd7127/attachment-0001.bin>


More information about the cfe-commits mailing list