diff options
author | Tim Shen <timshen@google.com> | 2020-01-22 13:46:11 -0800 |
---|---|---|
committer | Tim Shen <timshen@google.com> | 2020-01-30 23:30:46 -0800 |
commit | 3ccaac3cdd8f1e5b19e2da04be2ebbfc1fb9aa32 (patch) | |
tree | 0e152e2022ac2769e1eddcb1cb0b0be9650e99a9 /llvm/lib/IR/Module.cpp | |
parent | 381e81a048f8cd6aab6a41c87ad1b1658f052192 (diff) | |
download | llvm-3ccaac3cdd8f1e5b19e2da04be2ebbfc1fb9aa32.zip llvm-3ccaac3cdd8f1e5b19e2da04be2ebbfc1fb9aa32.tar.gz llvm-3ccaac3cdd8f1e5b19e2da04be2ebbfc1fb9aa32.tar.bz2 |
[mlir] Add MemRefTypeBuilder and refactor some MemRefType::get().
The refactored MemRefType::get() calls all intend to clone from another
memref type, with some modifications. In fact, some calls dropped memory space
during the cloning. Migrate them to the cloning API so that nothing gets
dropped if they are not explicitly listed.
It's close to NFC but not quite, as it helps with propagating memory spaces in
some places.
Differential Revision: https://reviews.llvm.org/D73296
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions