[all-commits] [llvm/llvm-project] 37b8f0: Revert "[SimplifyCFG] `FoldBranchToCommonDest()`: ...

alexfh via All-commits all-commits at lists.llvm.org
Fri Dec 16 08:23:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37b8f09a4b61bf9bf9d0b9017d790c8b82be2e17
      https://github.com/llvm/llvm-project/commit/37b8f09a4b61bf9bf9d0b9017d790c8b82be2e17
  Author: Alexander Kornienko <alexfh at google.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

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

  Log Message:
  -----------
  Revert "[SimplifyCFG] `FoldBranchToCommonDest()`: deal with mismatched IV's in PHI's in common successor block"

This reverts commit 1bd0b82e508d049efdb07f4f8a342f35818df341, since it leads to
miscompiles. See https://reviews.llvm.org/D139275#3993229 and
https://reviews.llvm.org/D139275#4001580.




More information about the All-commits mailing list