[Mlir-commits] [mlir] [MLIR][SideEffects][MemoryEffects] Modified LICM to be more aggressive when checking movability of ops with MemWrite effects (PR #155344)
Mo Bagherbeik
llvmlistbot at llvm.org
Sun Dec 21 16:28:14 PST 2025
================
@@ -346,6 +347,20 @@ struct AlwaysSpeculatableImplTrait
//===----------------------------------------------------------------------===//
namespace MemoryEffects {
+/// Defines the priority of the different memory effects.
+///
+/// Sorting/ordering memory effects of an operation is done based on
+/// their defined stage and priority, in that order. If stage values for two
+/// effect instances are equal, they are then sorted by priority. Lower priority
+/// values indicate higher precedence.
----------------
mbagherbeikTT wrote:
added more detailed comment/example
https://github.com/llvm/llvm-project/pull/155344
More information about the Mlir-commits
mailing list