diff options
author | Stephan Herhut <herhut@google.com> | 2022-01-20 14:02:04 +0100 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2022-01-20 15:31:43 +0100 |
commit | 6d45284618f08fa28dc515cab96fa573c4c4479e (patch) | |
tree | f64ed8661ba95a6ccd2342cbc6bc97fdd0d2b982 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | c95cb4de1b6674e52aebdb7d02c6431843001282 (diff) | |
download | llvm-6d45284618f08fa28dc515cab96fa573c4c4479e.zip llvm-6d45284618f08fa28dc515cab96fa573c4c4479e.tar.gz llvm-6d45284618f08fa28dc515cab96fa573c4c4479e.tar.bz2 |
[mlir][memref] Add better support for identity layouts in memref.collapse_shape canonicalizer
When computing the new type of a collapse_shape operation, we need to at least
take into account whether the type has an identity layout, in which case we can
easily support dynamic strides. Otherwise, the canonicalizer creates invalid
IR.
Longer term, both the verifier and the canoncializer need to be extended to
support the general case.
Differential Revision: https://reviews.llvm.org/D117772
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions