[all-commits] [llvm/llvm-project] 2f9f11: [SCEV] Support all Min/Max SCEVs for GetMinTrailin...

Joshua Cao via All-commits all-commits at lists.llvm.org
Fri Jan 13 02:32:18 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f9f11180fde50cbd6d6263d3d305d9ae9b1d535
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    A llvm/test/Analysis/ScalarEvolution/trip-count-minmax.ll

  Log Message:
  [SCEV] Support all Min/Max SCEVs for GetMinTrailingZeros

There is already support for U/SMax. No reason why Min and SequentialMin
should not be supported.

NFC: code in GetMinTrailingZeroes is copied for a couple node types.
Refactor them into a single code block.

Differential Revision: https://reviews.llvm.org/D141568

More information about the All-commits mailing list