Call release() directly when cleaning up the remaining DomainValues.

There is no need to involve the LiveRegs array and kill() any longer.

llvm-svn: 144133
diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
index 994a5c3..5a75fde 100644
--- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp
+++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
@@ -525,12 +525,10 @@
     if (FI == LiveOuts.end())
       continue;
     assert(FI->second && "Null entry");
-    // The DomainValue is collapsed when the last reference is killed.
-    LiveRegs = FI->second;
     for (unsigned i = 0, e = NumRegs; i != e; ++i)
-      if (LiveRegs[i])
-        kill(i);
-    delete[] LiveRegs;
+      if (FI->second[i])
+        release(FI->second[i]);
+    delete[] FI->second;
   }
   LiveOuts.clear();
   Avail.clear();