[all-commits] [llvm/llvm-project] 8927c9: [InstCombine] Add tests for known bits for min/max...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Sep 8 12:08:43 PDT 2020


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

  Changed paths:
    A llvm/test/Transforms/InstCombine/minmax-intrinsics.ll

  Log Message:
  -----------
  [InstCombine] Add tests for known bits for min/max intrinsics (NFC)

We already have test coverage for the underlying calculation,
this just checked that the folding is wired up...


  Commit: 8453fbf0889e22cf9bbb74c65e36cf8abbcec7b4
      https://github.com/llvm/llvm-project/commit/8453fbf0889e22cf9bbb74c65e36cf8abbcec7b4
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll

  Log Message:
  -----------
  [ValueTracking] Compute known bits of min/max intrinsics

Implement known bits for the min/max intrinsics based on the
recently added KnownBits primitives.


Compare: https://github.com/llvm/llvm-project/compare/5b2b4f331d78...8453fbf0889e


More information about the All-commits mailing list