summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-05 17:31:22 +0000
committerDevang Patel <dpatel@apple.com>2009-01-05 17:31:22 +0000
commit56a8bb670f9eb91416e867dd4f8670547497fc27 (patch)
tree409f18068593ba69f6ea2749bfefa31c7f2edac0 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
parent1d59d7843cb1f9d0e513be14f6f45b53ba3d7cbb (diff)
downloadbcm5719-llvm-56a8bb670f9eb91416e867dd4f8670547497fc27.tar.gz
bcm5719-llvm-56a8bb670f9eb91416e867dd4f8670547497fc27.zip
squash warnings.
llvm-svn: 61707
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index cfac82613ff..cfc77eef046 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -1662,7 +1662,7 @@ bool SimpleRegisterCoalescing::SimpleJoin(LiveInterval &LHS, LiveInterval &RHS){
// optimize for it: if there is more than one value, we merge them all into
// the lowest numbered one, then handle the interval as if we were merging
// with one value number.
- VNInfo *LHSValNo;
+ VNInfo *LHSValNo = NULL;
if (EliminatedLHSVals.size() > 1) {
// Loop through all the equal value numbers merging them into the smallest
// one.
OpenPOWER on IntegriCloud