[all-commits] [llvm/llvm-project] e2703c: [SCEV] Handle `less` predicates for FoundPred = NE

max-azul via All-commits all-commits at lists.llvm.org
Tue Sep 22 04:57:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2703c021d844ea0e5c1b203a4bd534e7a231997
      https://github.com/llvm/llvm-project/commit/e2703c021d844ea0e5c1b203a4bd534e7a231997
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Handle `less` predicates for FoundPred = NE

Currently these predicates are ignored, yet their handling is
pretty simple. I could not find a single test where it would
actually change something, but it's only because isImpliedCondOperands
is not smart enough to prove it further on. Yet the situation when
we come there with `less` predicate is pretty common.

Differential Revision: https://reviews.llvm.org/D87890
Reviewed By: fhahn




More information about the All-commits mailing list