[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 15:46:03 PDT 2021


gandhi21299 updated this revision to Diff 362208.
gandhi21299 added a comment.

Instruction selector is unable to select unsafe hw atomic instruction for add. Adding relevant diagnostic in the test case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106891/new/

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.362208.patch
Type: text/x-patch
Size: 7064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210727/c3651981/attachment.bin>


More information about the cfe-commits mailing list