[all-commits] [llvm/llvm-project] d77753: [SLP] simplify reduction matching

RotateRight via All-commits all-commits at lists.llvm.org
Thu Jan 21 12:11:13 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d77753381fe024434ae8ffaaacfe4b9ed9d4d760
      https://github.com/llvm/llvm-project/commit/d77753381fe024434ae8ffaaacfe4b9ed9d4d760
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-21 (Thu, 21 Jan 2021)

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

  Log Message:
  -----------
  [SLP] simplify reduction matching

This is NFC-intended and removes the "OperationData"
class which had become nothing more than a recurrence
(reduction) type.

I adjusted the matching logic to distinguish
instructions from non-instructions - that's all that
the "IsLeafValue" member was keeping track of.




More information about the All-commits mailing list