CopyFromReg starts a live range so its use should not be considered a floater.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-11-01 22:17:06 +00:00
parent 48d8a70d22
commit 93467e7fe3

View File

@ -555,7 +555,7 @@ static bool isFloater(const SUnit *SU) {
SUnit *PredSU = I->first;
unsigned Opc = PredSU->Node->getOpcode();
if (Opc != ISD::EntryToken && Opc != ISD::TokenFactor &&
Opc != ISD::CopyFromReg && Opc != ISD::CopyToReg)
Opc != ISD::CopyToReg)
return false;
}
return true;