Clean up usages of asserting vector getters in Type
authorChristopher Tetreault <ctetreau@quicinc.com>
Mon, 13 Apr 2020 19:30:53 +0000 (12:30 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Mon, 13 Apr 2020 20:01:40 +0000 (13:01 -0700)
commitf22fbe3a152ed1e7712c6580405cb28db00187a5
tree64206a29bc0eed1255459382dea5cb6571251e3f
parent840a23b0b5c74e439461564ffa63370991a67ad5
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: sdesmalen, efriedma, krememek

Reviewed By: sdesmalen, efriedma

Subscribers: dexonsmith, Charusso, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77257
clang/lib/CodeGen/CGAtomic.cpp
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/PatternInit.cpp
clang/lib/CodeGen/TargetInfo.cpp