projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05b979
)
Fix a control flow problem in commit rL257277.
author
Chen Li
<meloli87@gmail.com>
Sun, 10 Jan 2016 06:13:32 +0000
(06:13 +0000)
committer
Chen Li
<meloli87@gmail.com>
Sun, 10 Jan 2016 06:13:32 +0000
(06:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257278
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 9f115bfb35dd776dcd6e984ae6ba51bfee62b5a1..14a76d7802eb6cea650fb3ffe34e81d0c20dd4f5 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-3247,6
+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;
}
// Simplify resume that is shared by several landing pads (phi of landing pad).