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

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 13:56:09 PDT 2017


craig.topper updated this revision to Diff 118973.
craig.topper added a comment.

Only define "corei7" on nehalem/westmere to match gcc. Don't define anything for the CPUs newer than that. Add comments to the CPUs where gcc has two sets of defines and we have only one.


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.118973.patch
Type: text/x-patch
Size: 6210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171013/9b7f80db/attachment.bin>


More information about the cfe-commits mailing list