This is an archive of the discontinued LLVM Phabricator instance.

IR: Move NumElements field from {Array,Vector}Type to SequentialType.
ClosedPublic

Authored by pcc on Nov 24 2016, 9:12 PM.

Details

Summary

Now that PointerType is no longer a SequentialType, all SequentialTypes
have an associated number of elements, so we can move that information to
the base class, allowing for a number of simplifications.

Depends on D26595

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 79273.Nov 24 2016, 9:12 PM
pcc retitled this revision from to IR: Move NumElements field from {Array,Vector}Type to SequentialType..
pcc updated this object.
pcc added a reviewer: dblaikie.
pcc added a subscriber: llvm-commits.
dblaikie accepted this revision.Nov 24 2016, 9:35 PM
dblaikie edited edge metadata.
This revision is now accepted and ready to land.Nov 24 2016, 9:35 PM
This revision was automatically updated to reflect the committed changes.