[PATCH] D139275: [SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's in common successor block

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 10 14:20:06 PST 2022


lebedev.ri updated this revision to Diff 481881.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Thanks for taking a look!

Added requested instcombine fold (9ddff66d0c9c3e18d56e6b20aa26a2a8cdfb6d2b <https://reviews.llvm.org/rG9ddff66d0c9c3e18d56e6b20aa26a2a8cdfb6d2b>), rebased.
Does anyone else have any other comments here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139275

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/CodeGen/AArch64/rm_redundant_cmp.ll
  llvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
  llvm/test/CodeGen/AArch64/typepromotion-cost.ll
  llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll
  llvm/test/CodeGen/PowerPC/pr48527.ll
  llvm/test/CodeGen/X86/loop-search.ll
  llvm/test/Transforms/InstCombine/unused-nonnull.ll
  llvm/test/Transforms/LICM/hoist-phi.ll
  llvm/test/Transforms/LICM/sinking.ll
  llvm/test/Transforms/LoopStrengthReduce/AArch64/small-constant.ll
  llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
  llvm/test/Transforms/LoopUnroll/scevunroll.ll
  llvm/test/Transforms/LoopUnroll/unroll-after-peel.ll
  llvm/test/Transforms/LoopUnroll/unroll-header-exiting-with-phis-multiple-exiting-blocks.ll
  llvm/test/Transforms/SimplifyCFG/2008-07-13-InfLoopMiscompile.ll
  llvm/test/Transforms/SimplifyCFG/X86/SpeculativeExec.ll
  llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest-phis.ll
  llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll
  llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
  llvm/test/Transforms/SimplifyCFG/switch-on-const-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139275.481881.patch
Type: text/x-patch
Size: 117855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/433466cd/attachment-0001.bin>


More information about the llvm-commits mailing list