[PATCH] D106891: [AMDGPU] [Remarks] Emit optimization remarks when an FP atomic instruction is converted into a CAS loop or unsafe hardware instruction for GFX90A

Anshil Gandhi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 27 09:51:19 PDT 2021


gandhi21299 created this revision.
gandhi21299 added reviewers: arsenm, yaxunl, rampitec.
gandhi21299 created this object with edit policy "Members of Project: AMDGPU".
Herald added subscribers: foad, kerbowa, jfb, hiraditya, t-tye, tpr, dstuttard, nhaehnle, jvesely, kzhuravl.
gandhi21299 requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, wdng.
Herald added projects: clang, LLVM.

Implements ORE in SIISelLowering.cpp, reports CAS loop or unsafe hardware instruction if the flag `unsafe-fp-atomics` is enabled for the subtarget GFX90A.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106891

Files:
  clang/test/CodeGenCUDA/fp-atomics-optremarks.cu
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106891.362073.patch
Type: text/x-patch
Size: 6886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210727/56541ffe/attachment-0001.bin>


More information about the cfe-commits mailing list