Clean up usages of asserting vector getters in Type
authorChristopher Tetreault <ctetreau@quicinc.com>
Wed, 8 Apr 2020 23:17:08 +0000 (16:17 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Wed, 8 Apr 2020 23:29:36 +0000 (16:29 -0700)
commitfe69eb119657e9c1b56f4e7818be7c46752ac116
tree613983ca6563a8f22ffef11e8f2e5a7bf370bcdf
parent49fd24fe9e45cade2763acbce59e683aebc3d13a
Clean up usages of asserting vector getters in Type

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

Reviewers: espindola, efriedma, sdesmalen

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77275
llvm/lib/Bitcode/Reader/BitcodeReader.cpp