diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-11-01 22:17:06 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-11-01 22:17:06 +0000 |
commit | 93467e7fe3ba5cb60dec94b3ae8cdb13e51aa9a2 (patch) | |
tree | caf73d3090d4cb9e01fb409ddbbd2d39043950e2 | |
parent | 48d8a70d22eb166a917946d7ed69061e91e9cd12 (diff) |
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
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index ad98383220..0e63817e23 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; |