[all-commits] [llvm/llvm-project] f22ba5: [Remarks] Emit optimization remarks for atomics ge...

Anshil Gandhi via All-commits all-commits at lists.llvm.org
Mon Aug 16 13:56:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f22ba51873509b93732015176b778465f40c6db5
      https://github.com/llvm/llvm-project/commit/f22ba51873509b93732015176b778465f40c6db5
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    A clang/test/CodeGenCUDA/atomics-remarks-gfx90a.cu
    A clang/test/CodeGenOpenCL/atomics-remarks-gfx90a.cl
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    A llvm/test/CodeGen/AMDGPU/atomics-remarks-gfx90a.ll

  Log Message:
  -----------
  [Remarks] Emit optimization remarks for atomics generating CAS loop

Implements ORE in AtomicExpand pass to report atomics generating a
compare and swap loop.

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




More information about the All-commits mailing list