[all-commits] [llvm/llvm-project] f892cc: [BranchFolding] Fix missing predecessors of landin...
HaohaiWen via All-commits
all-commits at lists.llvm.org
Thu Jan 11 06:09:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f892cc36fda6d25d4f7cbf68e95b17ba0af040b8
https://github.com/llvm/llvm-project/commit/f892cc36fda6d25d4f7cbf68e95b17ba0af040b8
Author: HaohaiWen <haohai.wen at intel.com>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/test/CodeGen/X86/branchfolding-landingpad-cfg.mir
A llvm/test/CodeGen/X86/windows-seh-EHa-PreserveCFG.ll
Log Message:
-----------
[BranchFolding] Fix missing predecessors of landing-pad (#77608)
When removing an empty machine basic block, all of its successors should
be inherited by its fall through MBB. This keeps CFG as only have one
entry which is required by LiveDebugValues.
Reland #77441 as LiveDebugValues test.
More information about the All-commits
mailing list