[llvm] [VPlan] Introduce CSE pass (PR #151872)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 02:20:18 PDT 2025


================
@@ -286,6 +286,9 @@ struct VPlanTransforms {
   /// removing dead edges to their successors.
   static void removeBranchOnConst(VPlan &Plan);
 
+  /// Perform common-subexpression-elimination.
----------------
fhahn wrote:

```suggestion
  /// Perform common-subexpression-elimination on \p Plan.
```

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


More information about the llvm-commits mailing list