summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorChen Li <meloli87@gmail.com>2016-01-11 19:20:53 +0000
committerChen Li <meloli87@gmail.com>2016-01-11 19:20:53 +0000
commit509ff213002d2207e4a3dccf0ebefdefb6d00f1b (patch)
treeca347a8801970a3ab780f26bcc36d84ede6e8631 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parentf35395eac1a4538c528b7a5feb13b9bcafd9c9fc (diff)
downloadbcm5719-llvm-509ff213002d2207e4a3dccf0ebefdefb6d00f1b.tar.gz
bcm5719-llvm-509ff213002d2207e4a3dccf0ebefdefb6d00f1b.zip
Code refactoring for commit r257278.
llvm-svn: 257366
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index 14a76d7802e..3125a2c359b 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/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).
OpenPOWER on IntegriCloud