From: Chen Li Date: Mon, 11 Jan 2016 19:20:53 +0000 (+0000) Subject: Code refactoring for commit r257278. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f96d126faa1fcdd99c7f197b7ed9df7126927fc2;p=oota-llvm.git Code refactoring for commit r257278. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257366 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 14a76d7802e..3125a2c359b 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -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).