aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCheckDebugify.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-03-23 11:21:35 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-03-23 11:21:35 +0800
commit25557aa38a0dab76f5b7a4518942f69d879693c0 (patch)
tree5b828c646e3d567505007342b1f77581dfa348bb /llvm/lib/CodeGen/MachineCheckDebugify.cpp
parent89a1af749166627704cdf9d676455d32616c2c06 (diff)
downloadllvm-25557aa38a0dab76f5b7a4518942f69d879693c0.zip
llvm-25557aa38a0dab76f5b7a4518942f69d879693c0.tar.gz
llvm-25557aa38a0dab76f5b7a4518942f69d879693c0.tar.bz2
Recommit [Modules] Remove unnecessary check when generating name lookup table in ASTWriter
Close https://github.com/llvm/llvm-project/issues/61065. We will avoid writing the names from external AST naturally. But currently its check is often false positive since we may have already marked the declarations as external but DeclContext::hasNeedToReconcileExternalVisibleStorage would be false after reconciling. Tested with libcxx's modular build. This patch can improve 8% compilation time in an internal workloads. See the discussion in https://reviews.llvm.org/rG1e0709167f5edd330889f51bb203c458bdb5e359 to see the information for recommitting.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCheckDebugify.cpp')
0 files changed, 0 insertions, 0 deletions