[PATCH] D106717: [SimplifyCFG] Don't speculatively execute BB[s] if it's predictably not taken

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 23 15:05:48 PDT 2021


lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, efriedma.
lebedev.ri added a project: LLVM.
Herald added subscribers: wenlei, hiraditya.
lebedev.ri requested review of this revision.

Same as D106650 <https://reviews.llvm.org/D106650>, but for `FoldTwoEntryPHINode()`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106717

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/PGOProfile/chr.ll
  llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-one-block-profmd.ll
  llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-two-blocks-profmd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106717.361359.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/75fd138d/attachment.bin>


More information about the llvm-commits mailing list