[all-commits] [llvm/llvm-project] 14c750: tsan: add LIKELY/UNLIKELY to MetaMap::GetSync

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Mon Aug 2 04:30:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14c7507b9d5936074076eb19deecd163c1315f94
      https://github.com/llvm/llvm-project/commit/14c7507b9d5936074076eb19deecd163c1315f94
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_sync.cpp

  Log Message:
  -----------
  tsan: add LIKELY/UNLIKELY to MetaMap::GetSync

MetaMap::GetSync shows up in profiles,
so add LIKELY/UNLIKELY annotations.

Depends on D107256.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107257




More information about the All-commits mailing list