[all-commits] [llvm/llvm-project] af4581: [SLP] make commutative check apply only to binops; ...

RotateRight via All-commits all-commits at lists.llvm.org
Sun Aug 30 08:01:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af4581e8ab1648ff4df0b7fe3769160e6b9f2617
      https://github.com/llvm/llvm-project/commit/af4581e8ab1648ff4df0b7fe3769160e6b9f2617
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-08-30 (Sun, 30 Aug 2020)

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

  Log Message:
  -----------
  [SLP] make commutative check apply only to binops; NFC

As discussed in D86798, it's not clear if the caller code
works with a more liberal definition of "commutative" that
includes intrinsics like min/max. This makes the binop
restriction (current functionality is unchanged) explicit
until the code is audited/tested.




More information about the All-commits mailing list