aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorDmitrii Galimzianov <dmt021@gmail.com>2024-10-07 22:45:27 +0200
committerGitHub <noreply@github.com>2024-10-07 13:45:27 -0700
commitd2457e6d8f62a12b3b74791cfd3f5808168c8a71 (patch)
treeba5f70e080b4ae54d3429124a0d66c337845eaff /clang/lib/CodeGen/ModuleBuilder.cpp
parenta98466ad8967f9ad9cd79157a7aed8ade5d65a7a (diff)
downloadllvm-d2457e6d8f62a12b3b74791cfd3f5808168c8a71.zip
llvm-d2457e6d8f62a12b3b74791cfd3f5808168c8a71.tar.gz
llvm-d2457e6d8f62a12b3b74791cfd3f5808168c8a71.tar.bz2
Remove redundant symbol lookups in IRExecutionUnit::FindInSymbols (#102835)
When we search for a symbol, we first check if it is in the module_sp of the current SymbolContext, and if not, we check in the target's modules. However, the target's ModuleList also includes the already checked module, which leads to a redundant search in it.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions