[PATCH] D38824: [X86] Synchronize the existing CPU predefined macros with the cases that gcc defines them

Chandler Carruth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 15:57:43 PDT 2017

chandlerc added a comment.

In https://reviews.llvm.org/D38824#908540, @RKSimon wrote:

> Where is the best place to document this policy so people have a chance of understanding it going forward?

Given the (apparent) amount of confusion here, I'd suggest a dedicated document in Clang's documentation that gives suggested best practices and warns about anti-patterns for detecting these kinds of things. We can write it reasonably generically and make it not too Clang-specific and citable for guidance even when folks are using GCC (or other compilers).


More information about the cfe-commits mailing list