[PATCH] D38824: [X86] Synchronize the CPU predefined macros with gcc

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 11 14:30:56 PDT 2017


craig.topper created this revision.
Herald added a subscriber: krytarowski.

We were using corei7 for a large swatch of Intel CPUs. gcc has a different defines that more closely match the march flags. This updates to match.  It also fixes skylake-avx512 and adds silvermont in addition to slm.


https://reviews.llvm.org/D38824

Files:
  lib/Basic/Targets/X86.cpp
  test/Preprocessor/predefined-arch-macros.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38824.118697.patch
Type: text/x-patch
Size: 12333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171011/bbbb93bf/attachment-0001.bin>


More information about the cfe-commits mailing list