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 80020 llvm/trunk/docs/ProgrammersManual.rst
llvm/trunk/include/llvm/IR/DerivedTypes.h
llvm/trunk/include/llvm/IR/GetElementPtrTypeIterator.h
llvm/trunk/lib/IR/ConstantFold.cpp
llvm/trunk/lib/IR/Constants.cpp
llvm/trunk/lib/IR/Type.cpp
llvm/trunk/lib/Linker/IRMover.cpp
llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
llvm/trunk/lib/Transforms/Scalar/SROA.cpp
llvm/trunk/lib/Transforms/Utils/FunctionComparator.cpp
|