[all-commits] [llvm/llvm-project] 948b91: [NFC][sanitizer] Atomix relaxed in TwoLevelMap

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sun Oct 31 12:18:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 948b91a08e1712a6e2226eca5baf14a13a0c9ba5
      https://github.com/llvm/llvm-project/commit/948b91a08e1712a6e2226eca5baf14a13a0c9ba5
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-10-31 (Sun, 31 Oct 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_flat_map.h

  Log Message:
  -----------
  [NFC][sanitizer] Atomix relaxed in TwoLevelMap

This is NOOP in x86_64.
On arch64 it avoids Data Memory Barrier with visible improvements on micro benchmarks.

Reviewed By: dvyukov

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




More information about the All-commits mailing list