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
Paths
| Differential D27122
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 Depends on D26595
Diff Detail
Event Timelinepcc retitled this revision from to IR: Move NumElements field from {Array,Vector}Type to SequentialType.. pcc updated this object. pcc added a parent revision: D26595: IR: Change PointerType to derive from Type rather than SequentialType.. This revision is now accepted and ready to land.Nov 24 2016, 9:35 PM Closed by commit rL288464: IR: Move NumElements field from {Array,Vector}Type to SequentialType. (authored by pcc). · Explain WhyDec 1 2016, 7:31 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 79273 llvm/include/llvm/IR/DerivedTypes.h
llvm/include/llvm/IR/GetElementPtrTypeIterator.h
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/Constants.cpp
llvm/lib/IR/Type.cpp
llvm/lib/Linker/IRMover.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/lib/Transforms/Utils/FunctionComparator.cpp
|