Remove some unneeded branches.  (spotted by Evan, thanks)

llvm-svn: 37198
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 7b4aaae..d8ec340 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -595,6 +595,7 @@
     // Reinsert an unconditional branch if needed.
     // The 1 below can be either an original single predecessor, or a result
     // of removing blocks in TryMergeBlocks.
+    PredBB = prior(I);      // this may have been changed in TryMergeBlocks
     if (MergePotentials.size()==1 && 
         (MergePotentials.begin())->second != PredBB)
       FixTail((MergePotentials.begin())->second, I, TII);