[Mlir-commits] [llvm] [mlir] [mlir] Add Normalize pass (PR #162266)

Shourya Goel llvmlistbot at llvm.org
Tue Oct 28 12:04:18 PDT 2025


================
@@ -943,6 +943,17 @@ def ConvertShardToMPIPass : Pass<"convert-shard-to-mpi"> {
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// Normalize
+//===----------------------------------------------------------------------===//
+def Normalize : Pass<"normalize", "ModuleOp"> {
----------------
Sh0g0-1758 wrote:

Well we do need the top-level module operation to collect all the output operations and thus reorder/rename regular/initial operations if they have not been visited earlier by another output operation using them.

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


More information about the Mlir-commits mailing list