commit | 16b513822a5909912e254ffe39edaed62a6b7b41 | [log] [tgz] |
---|---|---|
author | Christian Ulmann <christianulmann@gmail.com> | Fri Apr 19 13:46:10 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 04:52:36 2024 -0700 |
tree | e0c2866c992604bd7e2c650d0c244d295587c555 | |
parent | d5912ce6645ce5e776e5a9837834eeede9d959dd [diff] |
[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. GitOrigin-RevId: df411fbac60825d07090ce17391db7606d8400f1
See https://mlir.llvm.org/ for more information.