Split *all* critical edges before isel. This resolves issues with spill code
authorChris Lattner <sabre@nondot.org>
Sat, 28 Oct 2006 17:04:37 +0000 (17:04 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Oct 2006 17:04:37 +0000 (17:04 +0000)
commit47e32e6b831dad8289fd498c71c5f641172b1c09
tree9169388350685db7bfd8c688190c07f8df14cd6a
parent49bb78ce9fe79640f2cd8f8cfaf7874552fed29d
Split *all* critical edges before isel.  This resolves issues with spill code
being inserted on unsplit critical edges, which introduces (sometimes large
amounts of) partially dead spill code.

This also fixes PR925 + CodeGen/Generic/switch-crit-edge-constant.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31260 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp