HomePhabricator

[IR] Refactor memtransfer inst classes (NFC)

Description

[IR] Refactor memtransfer inst classes (NFC)

Summary:
A simple refactor to remove duplicate code in the definitions of
MemTransferInst, AtomicMemTransferInst, and AnyMemTransferInst.
Introduce a templated base class that contains all of the methods
unique to a memory transfer intrinsic, and derive these three
classes from that.

Details

Committed
dneilsonApr 10 2018, 12:23 PM
Parents
rL329743: [AArch64] Fix isel failure when BUILD_PAIR nodes are left over.
Branches
Unknown
Tags
Unknown