[PATCH] D154294: [Windows SEH]: Do not fold branches for MSVC TableSEH function

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 11:21:58 PDT 2023


efriedma added a comment.

Disabling the entire BranchFolding pass doesn't seem like an effective way to deal with this.  If there are specific branches/basic blocks that can't be folded, we need to mark those specific constructs somehow, and make all relevant transforms check for those constructs.  Presumably some of the transforms BranchFolding does are legal, and there are other passes that do transforms on branches that need to know what transforms are legal.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154294/new/

https://reviews.llvm.org/D154294



More information about the llvm-commits mailing list