diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-05-06 09:05:15 -0400 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-05-06 09:10:05 -0400 |
commit | 94438c86adef0a0f50bc3737253e8c98b4e3dd3e (patch) | |
tree | 67e206ff06d67ed042a4a10ebd1fa298f01baa33 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 8650b36935ae8e9d584550539161e5851a17a912 (diff) | |
download | llvm-94438c86adef0a0f50bc3737253e8c98b4e3dd3e.zip llvm-94438c86adef0a0f50bc3737253e8c98b4e3dd3e.tar.gz llvm-94438c86adef0a0f50bc3737253e8c98b4e3dd3e.tar.bz2 |
[mlir] Add a MemRefCastOp canonicalization pattern.
Summary:
This revision adds a conservative canonicalization pattern for MemRefCastOp that are typically inserted during ViewOp and SubViewOp canonicalization.
Ideally such canonicalizations would propagate the type to consumers but this is not a local behavior. As a consequence MemRefCastOp are introduced to keep type compatibility but need to be cleaned up later, in the case where more dynamic behavior than necessary is introduced.
Differential Revision: https://reviews.llvm.org/D79438
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions