diff options
author | Argyrios Kyrtzidis <kyrtzidis@apple.com> | 2022-06-08 22:00:58 -0700 |
---|---|---|
committer | Argyrios Kyrtzidis <kyrtzidis@apple.com> | 2022-06-13 21:46:46 -0700 |
commit | f7e19a59284208712314a2d0702b48c445909130 (patch) | |
tree | 483e39d51bdc2eaa4901fde1e95105d0dcd61aef /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7735653e1647adb96836e5c6ba91c46754d1e21e (diff) | |
download | llvm-f7e19a59284208712314a2d0702b48c445909130.zip llvm-f7e19a59284208712314a2d0702b48c445909130.tar.gz llvm-f7e19a59284208712314a2d0702b48c445909130.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions