[Mlir-commits] [mlir] [mlir] Add `ScalableVectorType` support class (PR #96236)

Benjamin Maxwell llvmlistbot at llvm.org
Thu Jun 20 13:55:35 PDT 2024


MacDue wrote:

This is a follow up to #74251 and https://discourse.llvm.org/t/rfc-hardening-the-vectortype-api/75646. The main difference is this does not in any way modify the builtin `VectorType`.  This only adds a support class (`ScalableVectorType` in `mlir/Support/ScalableVectorType.h`), that aims to make some aspects of working with scalable vectors easier and safer.

The use of this class is entirely optional though (and is probably best only used where it makes things simpler). 

https://github.com/llvm/llvm-project/pull/96236


More information about the Mlir-commits mailing list