This is an archive of the discontinued LLVM Phabricator instance.

Add basic support for removal of load that are fed by a store of an aggregate
AbandonedPublic

Authored by dotdash on Jan 2 2015, 1:27 PM.

Details

Reviewers
None
Summary

If we have a simple load through a GEP that is fed by a store of an
aggregate, we can use the GEP indices to walk the stored aggregate and
extract the appropriate value to replace the load.

Diff Detail

Event Timeline

dotdash updated this revision to Diff 17764.Jan 2 2015, 1:27 PM
dotdash retitled this revision from to Add basic support for removal of load that are fed by a store of an aggregate.
dotdash updated this object.
dotdash edited the test plan for this revision. (Show Details)
dotdash added a subscriber: Unknown Object (MLST).
dotdash abandoned this revision.Jan 13 2015, 3:09 PM