[llvm] [SSAUpdaterBulk] Add PHI simplification pass. (PR #150936)
Valery Pykhtin via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 06:46:23 PDT 2025
================
@@ -222,3 +222,94 @@ void SSAUpdaterBulk::RewriteAllUses(DominatorTree *DT,
}
}
}
+
+// Perform a single pass of simplification over the worklist of PHIs.
+static void simplifyPass(MutableArrayRef<PHINode *> Worklist,
----------------
vpykhtin wrote:
Added explaining comment.
https://github.com/llvm/llvm-project/pull/150936
More information about the llvm-commits
mailing list