[all-commits] [llvm/llvm-project] 29b2c1: [Peeling] Extend the scope of peeling a bit

serguei-katkov via All-commits all-commits at lists.llvm.org
Mon Jun 22 00:44:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 29b2c1ca72096ca06415b5e626e6728c42ef1e74
      https://github.com/llvm/llvm-project/commit/29b2c1ca72096ca06415b5e626e6728c42ef1e74
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    A llvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-pd.ll

  Log Message:
  -----------
  [Peeling] Extend the scope of peeling a bit

Currently we allow peeling of the loops if there is a exiting latch block
and all other exits are blocks ending with deopt.

Actually we want that exit would end up with deopt unconditionally but
it is not required that exit itself ends with deopt.

Reviewers: reames, ashlykov, fhahn, apilipenko, fedor.sergeev
Reviewed By: apilipenko
Subscribers: hiraditya, zzheng, dantrushin, llvm-commits
Differential Revision: https://reviews.llvm.org/D81140




More information about the All-commits mailing list