This is an archive of the discontinued LLVM Phabricator instance.

Remove unneeded struct; NFC
ClosedPublic

Authored by sanjoy on Apr 30 2017, 10:46 PM.

Details

Summary

Unless I'm missing something, the DeferredGlobal struct's GV field is
unused, removing which makes the struct itself trivial.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy created this revision.Apr 30 2017, 10:46 PM
chandlerc accepted this revision.Apr 30 2017, 10:52 PM

LGTM.

This seems trivially correct. Feel free to submit. If there is a use case, we can always add this back equally trivially when the code to use it is added...

This revision is now accepted and ready to land.Apr 30 2017, 10:52 PM
This revision was automatically updated to reflect the committed changes.