From: Evan Cheng Date: Wed, 1 Nov 2006 22:17:06 +0000 (+0000) Subject: CopyFromReg starts a live range so its use should not be considered a floater. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=93467e7fe3ba5cb60dec94b3ae8cdb13e51aa9a2;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index ad983832202..0e63817e23b 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -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;