Update replaceAllMemRefUsesWith to generate single result affine_apply's for
authorUday Bondhugula <bondhugula@google.com>
Sat, 26 Jan 2019 00:00:50 +0000 (16:00 -0800)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 22:38:23 +0000 (15:38 -0700)
commitb4a1443508d8a22b33ce892847260b241e3909e7
tree55acd8ae2ad2b7f17195bd5983934fa85c5546fe
parent629f5b7fcbc52339ace4887323125843241ef435
Update replaceAllMemRefUsesWith to generate single result affine_apply's for
index remapping
- generate a sequence of single result affine_apply's for the index remapping
  (instead of one multi result affine_apply)
- update dma-generate and loop-fusion test cases; while on this, change test cases
  to use single result affine apply ops
- some fusion comment fix/cleanup

PiperOrigin-RevId: 230985830
mlir/lib/Transforms/LoopFusion.cpp
mlir/lib/Transforms/Utils/Utils.cpp
mlir/test/Transforms/dma-generate.mlir
mlir/test/Transforms/loop-fusion.mlir