This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Lower memmove to memory.copy
ClosedPublic

Authored by tlively on Feb 4 2019, 5:02 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

tlively created this revision.Feb 4 2019, 5:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2019, 5:02 PM
aheejin accepted this revision.Feb 4 2019, 5:09 PM

LGTM % nits

llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
31 ↗(On Diff #185195)

Let's follow the current variable naming rules until they change. For isVolatile and the preivously added memcpy function too, both here and the cpp file.

This revision is now accepted and ready to land.Feb 4 2019, 5:09 PM
aheejin added inline comments.Feb 4 2019, 5:11 PM
llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
31 ↗(On Diff #185195)

I mean, for isVolatile and dl

tlively marked an inline comment as done.Feb 4 2019, 5:12 PM
tlively added inline comments.
llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h
31 ↗(On Diff #185195)

Oops, this is left over from copying from the base class header. Goes to show just how uniform the codebase is now.

This revision was automatically updated to reflect the committed changes.