[all-commits] [llvm/llvm-project] fed3a9: [mlir] Add ScalableVectorType and FixedVectorType ...
Andrzej Warzyński via All-commits
all-commits at lists.llvm.org
Tue Dec 3 01:07:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fed3a9b8f81f5f4450e515f4499ecfda95804e95
https://github.com/llvm/llvm-project/commit/fed3a9b8f81f5f4450e515f4499ecfda95804e95
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-12-03 (Tue, 03 Dec 2024)
Changed paths:
A mlir/include/mlir/IR/VectorTypes.h
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
Log Message:
-----------
[mlir] Add ScalableVectorType and FixedVectorType (#87986)
This PR adds two small convenience Vector types:
* `ScalableVectorType` and `FixedVectorType`.
The goal of these new types is two-fold:
* Enable idiomatic checks like `isa<ScalableVectorType>(...)`.
* Make the split into "Scalable" and "Fixed-wdith" vectors a bit more
explicit and more visible in the code-base.
The new types are added in mlir/include/mlir/IR (instead of e.g.
mlir/include/mlir/Dialect/Vector) so that the new types can be used
without requiring any new dependency (e.g. on the Vector dialect).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list