aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-06-08 22:00:58 -0700
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-06-13 21:46:46 -0700
commitf7e19a59284208712314a2d0702b48c445909130 (patch)
tree483e39d51bdc2eaa4901fde1e95105d0dcd61aef /llvm/lib/CodeGen/MachineFunction.cpp
parent7735653e1647adb96836e5c6ba91c46754d1e21e (diff)
downloadllvm-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/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions