[PATCH] D134308: AtomicExpand: Use llvm.ptrmask instead of ptrtoint
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 13:27:51 PDT 2022
arsenm created this revision.
arsenm added reviewers: reames, jyknight, jdoerfert.
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.
Not sure if this is worth doing, given that we can't eliminate it for
the second one for the LSB shift. However, it does eliminate it from
the load's pointer operand.
https://reviews.llvm.org/D134308
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: D134308.461680.patch
Type: text/x-patch
Size: 114446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220920/d396d49a/attachment.bin>
More information about the llvm-commits
mailing list