[llvm-commits] CVS: llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
Reid Spencer
reid at x10sys.com
Sat Aug 7 08:19:41 PDT 2004
Changes in directory llvm/lib/CodeGen/ModuloScheduling:
MSSchedule.cpp updated: 1.3 -> 1.4
---
Log message:
Get rid of a warning when compiling optimized. Uninitialized variable has
been initialized.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp
diff -u llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp:1.3 llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp:1.4
--- llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp:1.3 Fri Jul 30 18:36:10 2004
+++ llvm/lib/CodeGen/ModuloScheduling/MSSchedule.cpp Sat Aug 7 10:19:31 2004
@@ -133,7 +133,7 @@
}
bool MSSchedule::constructKernel(int II) {
- MSchedGraphNode *branchNode;
+ MSchedGraphNode *branchNode = 0;
int stageNum = (schedule.rbegin()->first)/ II;
DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n");
More information about the llvm-commits
mailing list