[all-commits] [llvm/llvm-project] f5b81a: [InstrProf] Support conditional counter updates (#...

gulfemsavrun via All-commits all-commits at lists.llvm.org
Fri Aug 16 12:34:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5b81aa6ec371c13794aac82eb246a1a92966b43
      https://github.com/llvm/llvm-project/commit/f5b81aa6ec371c13794aac82eb246a1a92966b43
  Author: gulfemsavrun <gulfem at google.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    A llvm/test/Instrumentation/InstrProfiling/conditional-counter-updates.ll

  Log Message:
  -----------
  [InstrProf] Support conditional counter updates (#102542)

This patch adds support for conditional counter updates in single byte
counters mode to reduce the write contention by first checking whether
the counter is set before overwriting it.

---------

Co-authored-by: Juan Manuel Martinez CaamaƱo <jmartinezcaamao at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list