[all-commits] [llvm/llvm-project] a893b4: [SLP]Disable scheduling of insertelements.

cilkplus via All-commits all-commits at lists.llvm.org
Thu Jun 10 10:26:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a893b441873d4dd0ba849a722797f40da8600c39
      https://github.com/llvm/llvm-project/commit/a893b441873d4dd0ba849a722797f40da8600c39
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll

  Log Message:
  -----------
  [SLP]Disable scheduling of insertelements.

There is no need to schedule insertelement instructions. The compiler
did not schedule them before it started support their vectorization and
it should not do it after. We pre-schedule them manually when finding
a build vector sequence.
Disabling scheduling of insertelement instructions improves compile
time and vectorization of the very large basic blocks by saving
scheduling budget for other instructions.

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




More information about the All-commits mailing list