[llvm] r257366 - Code refactoring for commit r257278.
Chen Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 11:20:53 PST 2016
Author: chenli
Date: Mon Jan 11 13:20:53 2016
New Revision: 257366
URL: http://llvm.org/viewvc/llvm-project?rev=257366&view=rev
Log:
Code refactoring for commit r257278.
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=257366&r1=257365&r2=257366&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Mon Jan 11 13:20:53 2016
@@ -3247,8 +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;
+
+ return false;
}
// Simplify resume that is shared by several landing pads (phi of landing pad).
More information about the llvm-commits
mailing list