diff options
author | Christian Ulmann <christianulmann@gmail.com> | 2024-04-19 13:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 13:46:10 +0200 |
commit | df411fbac60825d07090ce17391db7606d8400f1 (patch) | |
tree | d9457926d8f26b63a1d13f061ab088bdc681a374 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4d7f3d9e0fb8cf9a4db6aa73c4fcb21bae98ef3a (diff) | |
download | llvm-df411fbac60825d07090ce17391db7606d8400f1.zip llvm-df411fbac60825d07090ce17391db7606d8400f1.tar.gz llvm-df411fbac60825d07090ce17391db7606d8400f1.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions