[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
Tue Dec 6 14:14:48 PST 2022


lebedev.ri updated this revision to Diff 480615.
lebedev.ri added a comment.

Actually you know what, let's keep this as simple as possible for the first step.
I've dropped all of InstSimplify stuff, and ensured that llvm test-suite (+one more thing) passes.


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.480615.patch
Type: text/x-patch
Size: 115578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221206/3ecaff94/attachment-0001.bin>


More information about the llvm-commits mailing list