[Mlir-commits] [mlir] [MLIR][SideEffects][MemoryEffects] Modified LICM to be more aggressive when checking movability of ops with MemWrite effects (PR #155344)

Uday Bondhugula llvmlistbot at llvm.org
Wed Sep 10 21:02:43 PDT 2025


================
@@ -1437,3 +1437,283 @@ func.func @do_not_hoist_vector_transfer_ops_memref(
   }
   func.return %final : vector<4x4xf32>
 }
+
----------------
bondhugula wrote:

Many of the test cases in https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/Affine/affine-loop-invariant-code-motion.mlir may be useful for these changes. We can delete the affine-licm pass if it's subsumed by LICM post this change.

https://github.com/llvm/llvm-project/pull/155344


More information about the Mlir-commits mailing list