[all-commits] [llvm/llvm-project] 56fd29: [SLP] use 'match' for binop/select; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Wed Dec 2 06:23:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56fd29e93bd133d354e7e639bca1c025162e91ac
      https://github.com/llvm/llvm-project/commit/56fd29e93bd133d354e7e639bca1c025162e91ac
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

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

  Log Message:
  -----------
  [SLP] use 'match' for binop/select; NFC

This might be a small improvement in readability, but the
real motivation is to make it easier to adapt the code to
deal with intrinsics like 'maxnum' and/or integer min/max.

There is potentially help in doing that with D92086, but
we might also just add specialized wrappers here to deal
with the expected patterns.




More information about the All-commits mailing list