[PATCH] D40092: [globalisel][irtranslator] Add support for atomicrmw and (strong) cmpxchg
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 17 09:02:39 PST 2017
dsanders updated this revision to Diff 123355.
dsanders added a comment.
Rename G_ATOMIC_CMPXCHG to G_ATOMIC_CMPXCHG_WITH_SUCCESS. There is a gap between
the LLVM-IR cmpxchg instruction and the SDNode that is usable in SelectionDAG
patterns. IRTranslate into a LLVM-IR-like representation. We'll then bridge the
gap in the legalizer.
https://reviews.llvm.org/D40092
Files:
include/llvm/CodeGen/GlobalISel/IRTranslator.h
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
include/llvm/Target/GenericOpcodes.td
include/llvm/Target/TargetOpcodes.def
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40092.123355.patch
Type: text/x-patch
Size: 41167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171117/e314f3ba/attachment.bin>
More information about the llvm-commits
mailing list