diff options
author | Dmitrii Galimzianov <dmt021@gmail.com> | 2024-10-07 22:45:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 13:45:27 -0700 |
commit | d2457e6d8f62a12b3b74791cfd3f5808168c8a71 (patch) | |
tree | ba5f70e080b4ae54d3429124a0d66c337845eaff /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | a98466ad8967f9ad9cd79157a7aed8ade5d65a7a (diff) | |
download | llvm-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