[llvm] [Utils] Fix incorrect LCSSA PHI nodes when splitting critical edges with MergeIdenticalEdges (PR #131744)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 09:12:24 PDT 2025


================
@@ -205,6 +205,8 @@ llvm::SplitKnownCriticalEdge(Instruction *TI, unsigned SuccNum,
     }
   }
 
+  unsigned NumSplittedIdenticalEdges = 1; 
----------------
nikic wrote:

```suggestion
  unsigned NumSplitIdenticalEdges = 1; 
```

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


More information about the llvm-commits mailing list