[llvm-commits] CVS: llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 2 09:28:11 PDT 2005



Changes in directory llvm/lib/Target/SparcV9/InstrSched:

SchedGraph.cpp updated: 1.71 -> 1.72
---
Log message:

silence a warning


---
Diffs of the changes:  (+1 -1)

 SchedGraph.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp
diff -u llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp:1.71 llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp:1.72
--- llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp:1.71	Wed Jul 27 01:12:34 2005
+++ llvm/lib/Target/SparcV9/InstrSched/SchedGraph.cpp	Sun Oct  2 11:27:59 2005
@@ -503,7 +503,7 @@
       // (only if the node is not already on the callDepVec!)
       if (callDepNodeVec.size() == 0 || callDepNodeVec.back() != node)
         {
-          unsigned rcid;
+          unsigned rcid = 0;
           int regInClass = target.getRegInfo()->getClassRegNum(regNum, rcid);
           if (target.getRegInfo()->getMachineRegClass(rcid)
               ->isRegVolatile(regInClass))






More information about the llvm-commits mailing list