[PATCH] D20401: [Lexer] Don't merge macro args from different macro files

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 11:55:16 PDT 2022


nikic added a comment.

In D20401#3824569 <https://reviews.llvm.org/D20401#3824569>, @nickdesaulniers wrote:

> But I wouldn't be surprised if other Linux distro's like RHEL bootstrap their clang distribution via GCC.  @tstellar or @serge-sans-paille or @nikic might know.  We did get a curious comment from a kernel developer recently claiming that clang was "twice as slow as GCC" which didn't make much sense; not sure if it was an exaggeration vs. precise measurement, but I wouldn't be surprised if evaluation order you identified plays into this, making the worst method even slower.  I'll try to find a link to the thread...

For Fedora/RHEL we used to build Clang with GCC -- for Clang 15, we switched to building with Clang. No idea what other distros do. Maybe worth mentioning that the builds on https://llvm-compile-time-tracker.com/ are done with GCC.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D20401/new/

https://reviews.llvm.org/D20401



More information about the cfe-commits mailing list