[all-commits] [llvm/llvm-project] df411f: [MLIR][DataLayout] Add support for scalable vector...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Fri Apr 19 04:46:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df411fbac60825d07090ce17391db7606d8400f1
https://github.com/llvm/llvm-project/commit/df411fbac60825d07090ce17391db7606d8400f1
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-04-19 (Fri, 19 Apr 2024)
Changed paths:
M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
M mlir/test/Interfaces/DataLayoutInterfaces/query.mlir
M mlir/test/lib/Dialect/DLTI/TestDataLayoutQuery.cpp
Log Message:
-----------
[MLIR][DataLayout] Add support for scalable vectors (#89349)
This commit extends the data layout to support scalable vectors. For
scalable vectors, the `TypeSize`'s scalable field is set accordingly,
and the alignment information remains the same as for normal vectors.
This behavior is in sync with what LLVM's data layout queries are
producing.
Before this change, scalable vectors incorrectly returned the same size
as "normal" vectors.
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