[all-commits] [llvm/llvm-project] 3ce1e9: [ORC] Add early-out to OL_applyQueryPhase1.

lhames via All-commits all-commits at lists.llvm.org
Tue Dec 14 15:01:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ce1e9428b96339c516da926657f830bfb4d4c9a
      https://github.com/llvm/llvm-project/commit/3ce1e9428b96339c516da926657f830bfb4d4c9a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/Core.cpp

  Log Message:
  -----------
  [ORC] Add early-out to OL_applyQueryPhase1.

If all symbols in a lookup match before we reach the end of the search order
then bail out of the search-order loop early.

This should reduce unnecessary contention on the session lock and improve
readability of the debug logs.




More information about the All-commits mailing list