[Mlir-commits] [mlir] [mlir][spirv] Add support for VectorAnyINTEL capability (PR #68034)
Jakub Kuderski
llvmlistbot at llvm.org
Sun Oct 22 11:44:36 PDT 2023
================
@@ -101,9 +101,11 @@ bool CompositeType::classof(Type type) {
}
bool CompositeType::isValid(VectorType type) {
- return type.getRank() == 1 &&
- llvm::is_contained({2, 3, 4, 8, 16}, type.getNumElements()) &&
- llvm::isa<ScalarType>(type.getElementType());
+ // Number of elements should be between [2 - 2^32 -1],
----------------
kuhar wrote:
Same here.
https://github.com/llvm/llvm-project/pull/68034
More information about the Mlir-commits
mailing list