diff options
author | tentzen <tentzen@microsoft.com> | 2022-12-02 02:42:43 -0800 |
---|---|---|
committer | tentzen <tentzen@microsoft.com> | 2022-12-02 02:44:18 -0800 |
commit | db6a979ae82410e42430e47afa488936ba8e3025 (patch) | |
tree | cb35e4007402d2e8590ace504cee3b8f21d5e489 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | c8e15afa4caf74f0d8281ca3e44674f1f6c1bc52 (diff) | |
download | llvm-db6a979ae82410e42430e47afa488936ba8e3025.zip llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.gz llvm-db6a979ae82410e42430e47afa488936ba8e3025.tar.bz2 |
Revert "[Windows SEH]: HARDWARE EXCEPTION HANDLING (MSVC -EHa) - Part 2"
This reverts commit 1a949c871ab4a6b6d792849d3e8c0fa6958d27f5.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 2b604aa..07be03d 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -1207,7 +1207,7 @@ bool BranchFolder::OptimizeBranches(MachineFunction &MF) { MadeChange |= OptimizeBlock(&MBB); // If it is dead, remove it. - if (MBB.pred_empty() && !MBB.isMachineBlockAddressTaken()) { + if (MBB.pred_empty()) { RemoveDeadBlock(&MBB); MadeChange = true; ++NumDeadBlocks; |