[all-commits] [llvm/llvm-project] ef19f6: [InstCombine] add tests for min/max intrinsics wit...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Mar 9 08:40:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef19f6cbf333ec1558a0dee49c52b9824778a660
      https://github.com/llvm/llvm-project/commit/ef19f6cbf333ec1558a0dee49c52b9824778a660
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

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

  Log Message:
  -----------
  [InstCombine] add tests for min/max intrinsics with not+constant; NFC


  Commit: 2986a9c7e2e8b8ef86e521cc928dda2577dde15b
      https://github.com/llvm/llvm-project/commit/2986a9c7e2e8b8ef86e521cc928dda2577dde15b
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

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

  Log Message:
  -----------
  [InstCombine] canonicalize 'not' op after min/max intrinsic

This is another step towards parity between existing select
transforms and min/max intrinsics (D98152)..

The existing 'not' folds around select are complicated, so
it's likely that we will need to enhance this, but this
should be a safe step.


Compare: https://github.com/llvm/llvm-project/compare/4e1c487004a2...2986a9c7e2e8


More information about the All-commits mailing list