This is an archive of the discontinued LLVM Phabricator instance.

Move updating functions to MemorySSAUpdater. Add updater to passes that now need it. Move around code in MemorySSA to expose needed functions.
ClosedPublic

Authored by dberlin on Feb 21 2017, 12:47 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

dberlin created this revision.Feb 21 2017, 12:47 PM

a few nits, and LGTM. thanks!

include/llvm/Transforms/Utils/MemorySSA.h
638 ↗(On Diff #89264)

s/is/are/

640 ↗(On Diff #89264)

s/relies/rely/

lib/Transforms/Utils/MemorySSAUpdater.cpp
490 ↗(On Diff #89264)

redundant parens

This revision is now accepted and ready to land.Feb 21 2017, 12:53 PM
dberlin marked 3 inline comments as done.Feb 21 2017, 12:56 PM
Prazek added inline comments.Feb 22 2017, 9:25 AM
include/llvm/Transforms/Utils/MemorySSAUpdater.h
90–94 ↗(On Diff #89264)

The plan is to remove these functions in the future right?

This revision was automatically updated to reflect the committed changes.