From 93467e7fe3ba5cb60dec94b3ae8cdb13e51aa9a2 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 1 Nov 2006 22:17:06 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;