[all-commits] [llvm/llvm-project] f7e19a: [Lex] Keep track of skipped preprocessor blocks an...
Argyrios Kyrtzidis via All-commits
all-commits at lists.llvm.org
Mon Jun 13 21:47:02 PDT 2022
Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
[Lex] Keep track of skipped preprocessor blocks and advance the lexer directly if they are revisited
This speeds up preprocessing, specifically for preprocessing the clang sources time is reduced by about -36%,
using measurements on M1Pro with a release+thinLTO build.
Differential Revision: https://reviews.llvm.org/D127379
More information about the All-commits