[PATCH] D40157: [mir] Print/Parse both MOLoad and MOStore when they occur together.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 16:27:42 PST 2017


dsanders created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.

They're not always mutually exclusive. read-modify-write atomics are both
at the same time. One example of this is the SWP instructions on AArch64.
Another example is GlobalISel's G_ATOMICRMW_* generic instructions which
will be added in a later patch.


https://reviews.llvm.org/D40157

Files:
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MIRPrinter.cpp
  test/CodeGen/MIR/AArch64/swp.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40157.123266.patch
Type: text/x-patch
Size: 3359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171117/71274891/attachment.bin>


More information about the llvm-commits mailing list