diff options
| author | Uday Bondhugula <bondhugula@google.com> | 2019-02-04 13:48:44 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:12:25 -0700 |
| commit | 0f50414fa4553b1277684cb1dded84b334b35d51 (patch) | |
| tree | 8efb3362ecfc6ec22121492bd5ab03d9340db447 /mlir/lib/EDSC | |
| parent | 99d6ee02b98b28fb6501e5ae805842a20b94ec4c (diff) | |
| download | bcm5719-llvm-0f50414fa4553b1277684cb1dded84b334b35d51.tar.gz bcm5719-llvm-0f50414fa4553b1277684cb1dded84b334b35d51.zip | |
Refactor common code getting memref access in getMemRefRegion - NFC
- use getAccessMap() instead of repeating it
- fold getMemRefRegion into MemRefRegion ctor (more natural, avoid heap
allocation and unique_ptr where possible)
- change extractForInductionVars - MutableArrayRef -> ArrayRef for the
arguments. Since the method is just returning copies of 'Value *', the client
can't mutate the pointers themselves; it's fine to mutate the 'Value''s
themselves, but that doesn't mutate the pointers to those.
- change the way extractForInductionVars returns (see b/123437690)
PiperOrigin-RevId: 232359277
Diffstat (limited to 'mlir/lib/EDSC')
0 files changed, 0 insertions, 0 deletions

