[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
Wed Jun 13 08:18:45 PDT 2018
asb created this revision.
asb added a reviewer: jyknight.
Herald added a reviewer: javed.absar.
Herald added a subscriber: kristof.beyls.
This involves changing the shouldExpandAtomicCmpXchgInIR interface, but I have updated the in-tree backends using this hook (ARM, AArch64, Hexagon) so they will see no functional change.
Posting to allow discussion of the full patch series in my associated RFC (to be posted as soon as I've finished uploading this patch series). We may want to change the interface to allow greater code reuse across targets.
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.151174.patch
Type: text/x-patch
Size: 9818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180613/dddb673f/attachment.bin>
More information about the llvm-commits
mailing list