projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b54dca
)
whitespace
author
Andrew Trick
<atrick@apple.com>
Wed, 23 Mar 2011 20:40:18 +0000
(20:40 +0000)
committer
Andrew Trick
<atrick@apple.com>
Wed, 23 Mar 2011 20:40:18 +0000
(20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128163
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index ffe6b9c07cd8c817343538bda7aaaa689f402ce5..aa93bba29d210d4adccd52ad5d339022c2db8a81 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@
-1812,7
+1812,7
@@
void RegReductionPQBase::ScheduledNode(SUnit *SU) {
if (!SU->getNode())
return;
-
+
for (SUnit::pred_iterator I = SU->Preds.begin(), E = SU->Preds.end();
I != E; ++I) {
if (I->isCtrl())
@@
-1880,7
+1880,7
@@
void RegReductionPQBase::UnscheduledNode(SUnit *SU) {
const SDNode *N = SU->getNode();
if (!N) return;
-
+
if (!N->isMachineOpcode()) {
if (N->getOpcode() != ISD::CopyToReg)
return;