summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-07 15:19:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-07 15:19:31 +0000
commit2bce8006d5ad9a54aa38f787a6e269b449a06f0b (patch)
treecf8dad12030e3af6de88c23a25b3cabed06fa866 /llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
parent57cafee5761692d2bce8bcd6a266224f09264437 (diff)
downloadbcm5719-llvm-2bce8006d5ad9a54aa38f787a6e269b449a06f0b.tar.gz
bcm5719-llvm-2bce8006d5ad9a54aa38f787a6e269b449a06f0b.zip
Get rid of a warning when compiling optimized. Uninitialized variable has
been initialized. llvm-svn: 15565
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp b/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
index 8ec19dad720..c57cb5a3bdb 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
+++ b/llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
@@ -133,7 +133,7 @@ bool MSSchedule::resourcesFree(MSchedGraphNode *node, int cycle) {
}
bool MSSchedule::constructKernel(int II) {
- MSchedGraphNode *branchNode;
+ MSchedGraphNode *branchNode = 0;
int stageNum = (schedule.rbegin()->first)/ II;
DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n");
OpenPOWER on IntegriCloud