[PATCH] D154294: [Windows SEH]: Do not fold branches for MSVC TableSEH function
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 1 20:35:06 PDT 2023
pengfei created this revision.
pengfei added reviewers: rnk, efriedma, hans, tentzen.
Herald added a subscriber: hiraditya.
Herald added a project: All.
pengfei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We have calculated SEH states based on old CFG. Folding them may result in invalid labels when emitting entries for MSVC C specific handler.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154294
Files:
llvm/lib/CodeGen/AsmPrinter/WinException.cpp
llvm/lib/CodeGen/BranchFolding.cpp
llvm/test/CodeGen/WinEH/wineh-noret-cleanup.ll
llvm/test/CodeGen/X86/seh-catchpad.ll
llvm/test/CodeGen/X86/windows-seh-EHa-CExcept.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154294.536567.patch
Type: text/x-patch
Size: 5792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230702/5ba67da2/attachment.bin>
More information about the llvm-commits
mailing list