diff options
| author | MLIR Team <no-reply@google.com> | 2019-02-06 11:01:10 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:17:15 -0700 |
| commit | b9dde91ea6ec449ecd4203fb06fdf726001a0c37 (patch) | |
| tree | e757b8d3cc5874995fc50b492123c2a0fcefd5a3 /mlir/lib/Transforms/MemRefDataFlowOpt.cpp | |
| parent | 31f2b3ffa1a5f5233488e7d1415a7b7e2512a791 (diff) | |
| download | bcm5719-llvm-b9dde91ea6ec449ecd4203fb06fdf726001a0c37.tar.gz bcm5719-llvm-b9dde91ea6ec449ecd4203fb06fdf726001a0c37.zip | |
Adds the ability to compute the MemRefRegion of a sliced loop nest. Utilizes this feature during loop fusion cost computation, to compute what the write region of a fusion candidate loop nest slice would be (without having to materialize the slice or change the IR).
*) Adds parameter to public API of MemRefRegion::compute for passing in the slice loop bounds to compute the memref region of the loop nest slice.
*) Exposes public method MemRefRegion::getRegionSize for computing the size of the memref region in bytes.
PiperOrigin-RevId: 232706165
Diffstat (limited to 'mlir/lib/Transforms/MemRefDataFlowOpt.cpp')
0 files changed, 0 insertions, 0 deletions

