[mlir][llvm] More LLVMFixed/ScalableVectorType to TypeDef
authorJeff Niu <jeff@modular.com>
Fri, 21 Oct 2022 21:54:57 +0000 (14:54 -0700)
committerJeff Niu <jeff@modular.com>
Fri, 21 Oct 2022 22:13:11 +0000 (15:13 -0700)
commit6144042c27a9a0b8ea90e49d82e800cde02a4e88
tree09da8872fa2b83e97830f5c65980c4a3bbbb9e25
parent877977bba966e3306dae28d06cfd41b64968f267
[mlir][llvm] More LLVMFixed/ScalableVectorType to TypeDef

This keeps the current parser, however, since the mnemonic `vec` is
overloaded for both of these types.

Depends on D136499

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D136505
mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp