Clean up usages of asserting vector getters in Type
authorChristopher Tetreault <ctetreau@quicinc.com>
Fri, 10 Apr 2020 19:55:36 +0000 (12:55 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Fri, 10 Apr 2020 20:46:18 +0000 (13:46 -0700)
commit92dde8a6579108ae9e1d213e5d7709e1e1c1e46c
treeb2309a802b24a49612e521e3a83b21c540a085d0
parent92210cb26fb789683e5c5df3f4e533ecfd921375
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: rriddle, efriedma, sdesmalen

Reviewed By: sdesmalen

Subscribers: frgossen, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77258
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp