[all-commits] [llvm/llvm-project] 718157: [LoopDeletion] Move ICmpInst handling to getValueO...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Fri Sep 3 04:36:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 718157283c7954e744041a5b04f91037f4a487d6
      https://github.com/llvm/llvm-project/commit/718157283c7954e744041a5b04f91037f4a487d6
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopDeletion.cpp

  Log Message:
  -----------
  [LoopDeletion] Move ICmpInst handling to getValueOnFirstIteration()

As noticed in https://reviews.llvm.org/D105688, it would be great to move
handling of ICmpInst which was in canProveExitOnFirstIteration() to
getValueOnFirstIteration().

Patch by Dmitry Makogon!

Differential Revision: https://reviews.llvm.org/D108978
Reviewed By: reames




More information about the All-commits mailing list