[all-commits] [llvm/llvm-project] 544f27: [SLP] make checks for cmp+select min/max more expl...

RotateRight via All-commits all-commits at lists.llvm.org
Fri Jul 9 09:43:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 544f2711bb0b80b1c9126a33fb60fe9bb31ea420
      https://github.com/llvm/llvm-project/commit/544f2711bb0b80b1c9126a33fb60fe9bb31ea420
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] make checks for cmp+select min/max more explicit

This is NFC-intended currently (so no test diffs). The motivation
is to eventually allow matching for poison-safe logical-and and
logical-or (these are in the form of a select-of-bools).
( https://llvm.org/PR41312 )

Those patterns will not have all of the same constraints as min/max
in the form of cmp+sel. We may also end up removing the cmp+sel
min/max matching entirely (if we canonicalize to intrinsics), so
this will make that step easier.




More information about the All-commits mailing list