[all-commits] [llvm/llvm-project] 7202f4: [SLP] separate min/max matching from its instructi...

RotateRight via All-commits all-commits at lists.llvm.org
Tue Mar 16 14:16:32 PDT 2021


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

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

  Log Message:
  -----------
  [SLP] separate min/max matching from its instruction-level implementation; NFC

The motivation is to handle integer min/max reductions independently
of whether they are in the current cmp+sel form or the planned intrinsic
form.

We assumed that min/max included a select instruction, but we can
decouple that implementation detail by checking the instructions
themselves rather than relying on the recurrence (reduction) type.




More information about the All-commits mailing list