[all-commits] [llvm/llvm-project] c1abd4: [InstSimplify] Add tests for icmp of min/max with ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 12 13:08:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c1abd47aa16f71a3c0fff3ed6c5d2a3dbd3431f8
      https://github.com/llvm/llvm-project/commit/c1abd47aa16f71a3c0fff3ed6c5d2a3dbd3431f8
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll

  Log Message:
  -----------
  [InstSimplify] Add tests for icmp of min/max with constants (NFC)

Test the case where the constants are not the same, but the result
is still known.


  Commit: e2040d38a1c77b1ff544f96dc6ce31894e3799f0
      https://github.com/llvm/llvm-project/commit/e2040d38a1c77b1ff544f96dc6ce31894e3799f0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll

  Log Message:
  -----------
  [ValueTracking] Support min/max intrinsics in computeConstantRange()

The implementation is the same as for the SPF_* case.


Compare: https://github.com/llvm/llvm-project/compare/23bd33c6acc4...e2040d38a1c7


More information about the All-commits mailing list