[WinEH] Avoid infinite loop in BranchFolding for multiple single block funclets
authorAndrew Kaylor <andrew.kaylor@intel.com>
Thu, 3 Dec 2015 18:55:28 +0000 (18:55 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Thu, 3 Dec 2015 18:55:28 +0000 (18:55 +0000)
commitc4b843ccb787bfd31dc0ce3d01c4c61b5c86ca58
tree8ac4294883eab0ae3d34ae72476c4291eec341dd
parent0123bc6beac1ca9a06450e98d8e829d32ce52498
[WinEH] Avoid infinite loop in BranchFolding for multiple single block funclets

Differential Revision: http://reviews.llvm.org/D14996

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/Transforms/BranchFolding/single-block-funclets.ll [new file with mode: 0644]