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 | 47218fab42e490a28a456c839e9b4a0aa27611d9 (patch) | |
tree | 17caf1003188d17eb91d35d4c24eb1a3d95f8e80 /llvm/lib/CodeGen | |
parent | 20ffdbe7c1459a2cd3598fa0f7c3bc86b7940617 (diff) | |
download | bcm5719-llvm-47218fab42e490a28a456c839e9b4a0aa27611d9.tar.gz bcm5719-llvm-47218fab42e490a28a456c839e9b4a0aa27611d9.zip |
CopyFromReg starts a live range so its use should not be considered a floater.
llvm-svn: 31356
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index ad983832202..0e63817e23b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/llvm/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; |