This is an archive of the discontinued LLVM Phabricator instance.

[IRMover] Use GlobalValue::getAddressSpace instead of directly from its type [NFC]
ClosedPublic

Authored by ekatz on Oct 29 2019, 12:07 AM.

Details

Summary

Change the old form of G->getType()->getAddressSpace() to the new G->getAddressSpace() (underneath does the same).

Diff Detail

Event Timeline

ekatz created this revision.Oct 29 2019, 12:07 AM

This is consistent with (and has been split from) the change in https://reviews.llvm.org/D69361.

This revision is now accepted and ready to land.Oct 29 2019, 6:55 AM
ekatz added a comment.Oct 29 2019, 8:10 AM

I cannot commit this patch myself.
Please commit it, if you may, in my behalf.

Author: Ehud Katz <ehudkatz@gmail.com>

Thanks.

This revision was automatically updated to reflect the committed changes.