Create a more targeted fix for not sinking instructions into a range where it
authorBill Wendling <isanbard@gmail.com>
Tue, 15 Jun 2010 23:46:31 +0000 (23:46 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 15 Jun 2010 23:46:31 +0000 (23:46 +0000)
commitd361a77f14997d4674f41545103acad3a4a902f1
treea7ed86dc7f4a7ce01e872a6ad38c43306f7f67b4
parent6102549737d2a56031d8f9f0468d3a1a627e181f
Create a more targeted fix for not sinking instructions into a range where it
will conflict with another live range. The place which creates this scenerio is
the code in X86 that lowers a select instruction by splitting the MBBs. This
eliminates the need to check from the bottom up in an MBB for live pregs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106066 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineSink.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/MachineSink-CritEdge.ll