Move PHIElimination's SplitCriticalEdge for MachineBasicBlocks out
into a utility routine, teach it how to update MachineLoopInfo, and
make use of it in MachineLICM to split critical edges on demand.

llvm-svn: 106555
5 files changed
tree: 778ef0a0ecd420231743aded0c9ece6e5f49ed77
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/