Fix affine LICM for side-effecting ops. The code was special-cased for DMA ops. Generalize it and use isMemoryEffectFree. Differential Revision: https://reviews.llvm.org/D154783
affine.for
*.td
*.mlir