commit | a705e0edef18f8b292dbf26c88df26c10cad5294 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Fri Dec 02 03:20:58 2016 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Fri Dec 02 03:20:58 2016 +0000 |
tree | 6d8767db2ac9e3d4a1d3972bfc7dc2d3c0536759 | |
parent | 2a9507e648837f83e160e899b7ddba182b893422 [diff] |
IR: Move NumElements field from {Array,Vector}Type to SequentialType. 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. Differential Revision: https://reviews.llvm.org/D27122 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288464 91177308-0d34-0410-b5e6-96231b3b80d8