HomePhabricator

[IR] Refactor memset inst classes (NFC)

Description

[IR] Refactor memset inst classes (NFC)

Summary:
A simple refactor to remove duplicate code in the definitions of
MemSetInst, AtomicMemSetInst, and AnyMemSetInst. Introduce a
templated base class that contains all of the methods unique to
a memset intrinsic, and derive these three classes from that.

Details

Committed
dneilsonApr 10 2018, 12:51 PM
Parents
rL329746: Recommit r329716 "Add missing nullptr check before getSection() to…
Branches
Unknown
Tags
Unknown