[all-commits] [llvm/llvm-project] aec08e: Special case common branch patterns in breakLoopBa...

Philip Reames via All-commits all-commits at lists.llvm.org
Sun Aug 22 10:42:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aec08e86004bb3b8a7c5a86992945c936593db59
      https://github.com/llvm/llvm-project/commit/aec08e86004bb3b8a7c5a86992945c936593db59
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-08-22 (Sun, 22 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
    M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
    M llvm/test/Transforms/LoopDeletion/loops-with-irreducible-subloops.ll
    M llvm/test/Transforms/LoopDeletion/noop-loops-with-subloops.ll
    M llvm/test/Transforms/LoopDeletion/pr49967.ll
    M llvm/test/Transforms/LoopDeletion/unreachable-loops.ll
    M llvm/test/Transforms/LoopDeletion/zero-btc.ll

  Log Message:
  -----------
  Special case common branch patterns in breakLoopBackedge

This special cases an unconditional latch and a conditional branch latch exit to improve codegen and test readability.  I am hoping to reuse this function in the runtime unroll code, but without this change, the test diffs are far too complex to assess.




More information about the All-commits mailing list