[all-commits] [llvm/llvm-project] 2de05a: [SLP] Peek into loads when hitting the RecursionMa...

David Green via All-commits all-commits at lists.llvm.org
Mon Jul 4 06:23:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2de05afc192df40a1b7ff1f84153583eefc2f5fe
      https://github.com/llvm/llvm-project/commit/2de05afc192df40a1b7ff1f84153583eefc2f5fe
  Author: David Green <david.green at arm.com>
  Date:   2022-07-04 (Mon, 04 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll

  Log Message:
  -----------
  [SLP] Peek into loads when hitting the RecursionMaxDepth

This patch slightly extends the limit on the RecursionMaxDepth inside
the SLP vectorizer. It does it only when it hits a load (or zext/sext of
a load), which allows it to peek through in the places where it will be
the most valuable, without ballooning out the O(..) by any 2^n factors.

Differential Revision: https://reviews.llvm.org/D122148




More information about the All-commits mailing list