[Mlir-commits] [mlir] [MLIR][SideEffects][MemoryEffects] Modified LICM to be more aggressive when checking movability of ops with MemWrite effects (PR #155344)
Mehdi Amini
llvmlistbot at llvm.org
Thu Dec 11 03:26:23 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.
----------------
joker-eph wrote:
It's not clear from this documentation what the priority actually means.
https://github.com/llvm/llvm-project/pull/155344
More information about the Mlir-commits
mailing list