aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@linux.alibaba.com>2022-02-15 16:51:04 +0800
committerBin Cheng <bin.cheng@linux.alibaba.com>2022-02-16 10:46:26 +0800
commitdfec0b3053b9d433fa3770ff31bc540406db4ba8 (patch)
tree406d8b3ba451fca6fbf9928c321d33cc7f1ea0c5 /clang/lib/Frontend/InitPreprocessor.cpp
parentb7847199044e46e0a138586e6f525ef071b3e1f8 (diff)
downloadllvm-dfec0b3053b9d433fa3770ff31bc540406db4ba8.zip
llvm-dfec0b3053b9d433fa3770ff31bc540406db4ba8.tar.gz
llvm-dfec0b3053b9d433fa3770ff31bc540406db4ba8.tar.bz2
[FuncSpec] Save compilation time by caching uses for propagation
We only need to do propagation on use instructions of the original value, rather than the replacing const value which might have lots of irrelavant uses. This is done by caching uses before replacing. Differential Revision: https://reviews.llvm.org/D119815
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions