forked from OSchip/llvm-project
[MLIR] Remove LLVMVectorType
While this claims to be the base class for fixed and scalable vectors, this is no longer the case since D94405. In fact, LLVMVectorType is not usable, since the methods it declares are never defined. Remove this leftover. Differential Revision: https://reviews.llvm.org/D122707
This commit is contained in:
parent
bce954321a
commit
6ae13b74d6
|
@ -347,35 +347,6 @@ public:
|
|||
Location loc) const;
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// LLVMVectorType.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
/// LLVM dialect vector type, represents a sequence of elements that can be
|
||||
/// processed as one, typically in SIMD context. This is a base class for fixed
|
||||
/// and scalable vectors.
|
||||
class LLVMVectorType : public Type {
|
||||
public:
|
||||
/// Inherit base constructor.
|
||||
using Type::Type;
|
||||
|
||||
/// Support type casting functionality.
|
||||
static bool classof(Type type);
|
||||
|
||||
/// Checks if the given type can be used in a vector type.
|
||||
static bool isValidElementType(Type type);
|
||||
|
||||
/// Returns the element type of the vector.
|
||||
Type getElementType();
|
||||
|
||||
/// Returns the number of elements in the vector.
|
||||
llvm::ElementCount getElementCount();
|
||||
|
||||
/// Verifies that the type about to be constructed is well-formed.
|
||||
static LogicalResult verify(function_ref<InFlightDiagnostic()> emitError,
|
||||
Type elementType, unsigned numElements);
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// LLVMFixedVectorType.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue