[all-commits] [llvm/llvm-project] 170199: [llvm][nvptx] add atomicity to counter in ISelLowe...

Tres via All-commits all-commits at lists.llvm.org
Tue Jan 19 01:24:58 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 170199f56262cc3c80591d332da3128bc25ada96
      https://github.com/llvm/llvm-project/commit/170199f56262cc3c80591d332da3128bc25ada96
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h

  Log Message:
  -----------
  [llvm][nvptx] add atomicity to counter in ISelLowering

Previously uniqueCallSite could have race conditions between different
threads. Now it is accessed with an atomic RMW and will be unique
between different threads.

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




More information about the All-commits mailing list