projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WinEH] Make FuncletLayout more robust against catchret
[oota-llvm.git]
/
lib
/
CodeGen
/
BranchFolding.cpp
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index f990e10086431173b017c85a6171942b3440c648..2ef8889091f1eeb1cd380917608352bf4c48ca4d 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-976,7
+976,7
@@
bool BranchFolder::TailMergeBlocks(MachineFunction &MF) {
continue;
// Skip blocks which may jump to a landing pad. Can't tail merge these.
- if (PBB->
getLanding
PadSuccessor())
+ if (PBB->
hasEH
PadSuccessor())
continue;
MachineBasicBlock *TBB = nullptr, *FBB = nullptr;