[all-commits] [llvm/llvm-project] ac8748: [SCEV] Recognize min/max intrinsics

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Sep 5 07:31:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac87480bd8beef0a4e93981e38df2c21652e1393
      https://github.com/llvm/llvm-project/commit/ac87480bd8beef0a4e93981e38df2c21652e1393
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/minmax-intrinsics.ll

  Log Message:
  -----------
  [SCEV] Recognize min/max intrinsics

Recognize umin/umax/smin/smax intrinsics and convert them to the
already existing SCEV nodes of the same name.

In the future we'll want SCEVExpander to also produce the intrinsics,
but we're not ready for that yet.

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




More information about the All-commits mailing list