This is an archive of the discontinued LLVM Phabricator instance.

[RS4GC] Pass DenseMap by reference, NFC
ClosedPublic

Authored by JosephTremoulet on Feb 4 2016, 5:39 PM.

Details

Summary

Passing the rematerialized values map to insertRematerializationStores by
value looks to be a simple oversight; update it to pass by reference.

Diff Detail

Repository
rL LLVM

Event Timeline

JosephTremoulet retitled this revision from to [RS4GC] Pass DenseMap by reference, NFC.
JosephTremoulet updated this object.
JosephTremoulet added reviewers: sanjoy, reames.
JosephTremoulet added a subscriber: llvm-commits.
sanjoy accepted this revision.Feb 4 2016, 5:45 PM
sanjoy edited edge metadata.
This revision is now accepted and ready to land.Feb 4 2016, 5:45 PM
This revision was automatically updated to reflect the committed changes.