Code refactoring for commit r257278.
authorChen Li <meloli87@gmail.com>
Mon, 11 Jan 2016 19:20:53 +0000 (19:20 +0000)
committerChen Li <meloli87@gmail.com>
Mon, 11 Jan 2016 19:20:53 +0000 (19:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257366 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyCFG.cpp

index 14a76d7..3125a2c 100644 (file)
@@ -3247,8 +3247,8 @@ bool SimplifyCFGOpt::SimplifyResume(ResumeInst *RI, IRBuilder<> &Builder) {
            RI->getValue() == RI->getParent()->getFirstNonPHI())
     // The resume must unwind the exception that caused control to branch here.
     return SimplifySingleResume(RI);
-  else
-    return false;
+
+  return false;
 }
 
 // Simplify resume that is shared by several landing pads (phi of landing pad).