[llvm] r257278 - Fix a control flow problem in commit rL257277.

Chen Li via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 9 22:13:32 PST 2016


Author: chenli
Date: Sun Jan 10 00:13:32 2016
New Revision: 257278

URL: http://llvm.org/viewvc/llvm-project?rev=257278&view=rev
Log:
Fix a control flow problem in commit rL257277.


Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=257278&r1=257277&r2=257278&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Sun Jan 10 00:13:32 2016
@@ -3247,6 +3247,8 @@ bool SimplifyCFGOpt::SimplifyResume(Resu
            RI->getValue() == RI->getParent()->getFirstNonPHI())
     // The resume must unwind the exception that caused control to branch here.
     return SimplifySingleResume(RI);
+  else
+    return false;
 }
 
 // Simplify resume that is shared by several landing pads (phi of landing pad).




More information about the llvm-commits mailing list