This is an archive of the discontinued LLVM Phabricator instance.

MemorySSA: Add support for caching clobbering access in stores
ClosedPublic

Authored by dberlin on Apr 1 2017, 3:14 AM.

Details

Summary

This enables us to cache the clobbering access for stores, despite the
fact that we can't rewrite the use-def chains themselves.

Early testing shows that, after this change, for larger testcases, it will be a significant net positive (memory and time) to remove the walker caching.

Diff Detail

Repository
rL LLVM

Event Timeline

dberlin created this revision.Apr 1 2017, 3:14 AM
davide accepted this revision.Apr 1 2017, 3:24 PM

LG

lib/Transforms/Utils/MemorySSA.cpp
2202 ↗(On Diff #93743)

auto. I know it was already there, but while you're at it :)

2220 ↗(On Diff #93743)

auto

This revision is now accepted and ready to land.Apr 1 2017, 3:24 PM
This revision was automatically updated to reflect the committed changes.