Change break critical edges to not remove, then insert, PHI node entries.
authorChris Lattner <sabre@nondot.org>
Fri, 12 Aug 2005 21:58:07 +0000 (21:58 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 Aug 2005 21:58:07 +0000 (21:58 +0000)
commitb01bfd49c3353085e9ebb01d7b257f70583ee8c8
treeed897a5850bea9c3cf347986a301ca3e28bfc4de
parent1f3e808ebf1388c2c5016b9896fd6fbbb03e5666
Change break critical edges to not remove, then insert, PHI node entries.
Instead, just update the BB in-place.  This is both faster, and it prevents
split-critical-edges from shuffling the PHI argument list unneccesarily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/BreakCriticalEdges.cpp