Remove asserting getters from base Type
authorChristopher Tetreault <ctetreau@quicinc.com>
Fri, 17 Apr 2020 20:29:38 +0000 (13:29 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Fri, 17 Apr 2020 21:03:31 +0000 (14:03 -0700)
commitc858debebc1308e748de882c745e179b1a398fa0
tree48f043ab87779ba0c61694f4ff29a7970e41f33a
parentf8452ddfcc3336e42544a35481507f0b3bae423e
Remove asserting getters from base Type

Summary:
Remove asserting vector getters from Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.

Reviewers: dexonsmith, sdesmalen, efriedma

Reviewed By: efriedma

Subscribers: cfe-commits, hiraditya, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D77278
clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/IR/DerivedTypes.h
llvm/include/llvm/IR/Type.h
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/unittests/IR/VPIntrinsicTest.cpp