[SVE] Add specialized getters to derived vector types
authorChristopher Tetreault <ctetreau@quicinc.com>
Tue, 19 May 2020 17:47:16 +0000 (10:47 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Tue, 19 May 2020 18:27:18 +0000 (11:27 -0700)
commit0d736f467ddb6b6f0189703f015c248c41be7cf3
treefb0614e3c2cd5d894f54cc52a3eed376d9a5ed00
parent018e5a96eebd712dd743589327354d528865f9b6
[SVE] Add specialized getters to derived vector types

Summary:
Add versions of the specialized getters in base VectorType to the
derived vector types that return derived pointers. This reduces the
amount of casting you need to do when working with derived vectors

Reviewers: efriedma, david-arm, fpetrogalli, craig.topper

Reviewed By: david-arm

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80026
llvm/include/llvm/IR/DerivedTypes.h