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:
6c9712f
)
Uninitialized variable (in never taken path) after factoring.
author
Andrew Trick
<atrick@apple.com>
Sat, 28 Dec 2013 22:25:57 +0000
(22:25 +0000)
committer
Andrew Trick
<atrick@apple.com>
Sat, 28 Dec 2013 22:25:57 +0000
(22:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198131
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineScheduler.cpp
b/lib/CodeGen/MachineScheduler.cpp
index eab0eb1bec64c09ce1ac5847bc8b8b06d357feb7..1115b822b6693ed8fffe6e75e51974465131261e 100644
(file)
--- a/
lib/CodeGen/MachineScheduler.cpp
+++ b/
lib/CodeGen/MachineScheduler.cpp
@@
-2248,7
+2248,7
@@
void GenericSchedulerBase::setPolicy(CandPolicy &Policy,
CurrZone.findMaxLatency(CurrZone.Pending.elements()));
// Compute the critical resource outside the zone.
- unsigned OtherCritIdx;
+ unsigned OtherCritIdx
= 0
;
unsigned OtherCount =
OtherZone ? OtherZone->getOtherResourceCount(OtherCritIdx) : 0;