[PATCH] D48130: [AtomicExpandPass]: Add a hook for custom cmpxchg expansion in IR

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 07:17:46 PDT 2018


asb updated this revision to Diff 165970.
asb marked an inline comment as done.
asb edited the summary of this revision.
asb added a comment.
Herald added a subscriber: jfb.

I've changed this to better match the revised approach taken for atomicrmw expansion, which maximises the amount of code that can be shared between targets. See https://reviews.llvm.org/D48131 to see this interface put to use.


https://reviews.llvm.org/D48130

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/AtomicExpandPass.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  lib/Target/Hexagon/HexagonISelLowering.cpp
  lib/Target/Hexagon/HexagonISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48130.165970.patch
Type: text/x-patch
Size: 9880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180918/cfcfa2cb/attachment.bin>


More information about the llvm-commits mailing list