[PATCH] D134903: AtomicExpand: Don't create unused instructions for some atomicrmw

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 13:45:48 PDT 2022


arsenm created this revision.
arsenm added reviewers: jyknight, reames.
Herald added subscribers: kosarev, kerbowa, jrtc27, fedor.sergeev, hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This wasn't used by every atomicrmw expansion.


https://reviews.llvm.org/D134903

Files:
  llvm/lib/CodeGen/AtomicExpandPass.cpp
  llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
  llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
  llvm/test/Transforms/AtomicExpand/SPARC/partword.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134903.464014.patch
Type: text/x-patch
Size: 22986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220929/0d1cc4cd/attachment-0001.bin>


More information about the llvm-commits mailing list