This is an archive of the discontinued LLVM Phabricator instance.

[opaque pointer types] Add element type argument to IRBuilder CreatePreserveStructAccessIndex and CreatePreserveArrayAccessIndex
ClosedPublic

Authored by craig.topper on Nov 2 2019, 4:11 PM.

Details

Summary

These were the only remaining users of the GetElementPtrInst::getGEPReturnType
method that gets the element type from the pointer type.

Remove that method since its now dead.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 2 2019, 4:11 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 2 2019, 4:11 PM
arsenm accepted this revision.Nov 2 2019, 8:04 PM
arsenm added a subscriber: arsenm.

LGTM

This revision is now accepted and ready to land.Nov 2 2019, 8:04 PM
This revision was automatically updated to reflect the committed changes.
jyknight added a comment.EditedNov 4 2019, 1:29 PM

EDIT: d'oh, sorry, posted that update to the wrong review.