diff options
author | Bin Cheng <bin.cheng@linux.alibaba.com> | 2022-02-15 16:51:04 +0800 |
---|---|---|
committer | Bin Cheng <bin.cheng@linux.alibaba.com> | 2022-02-16 10:46:26 +0800 |
commit | dfec0b3053b9d433fa3770ff31bc540406db4ba8 (patch) | |
tree | 406d8b3ba451fca6fbf9928c321d33cc7f1ea0c5 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | b7847199044e46e0a138586e6f525ef071b3e1f8 (diff) | |
download | llvm-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