[all-commits] [llvm/llvm-project] 8bacfb: [SLP]No need to schedule/check parent for extract{...

cilkplus via All-commits all-commits at lists.llvm.org
Tue Sep 28 06:15:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bacfb9bedf10a2e446db072be2c1cd2cd1d7aab
      https://github.com/llvm/llvm-project/commit/8bacfb9bedf10a2e446db072be2c1cd2cd1d7aab
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/remark_extract_broadcast.ll

  Log Message:
  -----------
  [SLP]No need to schedule/check parent for extract{element/value} instruction.

The instruction extractelement/extractvalue are not required to
be scheduled since they only depend on the source vector/aggregate (with
constant indices), smae applies to the parent basic block checks.
Improves compile time and saves scheduling budget.

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




More information about the All-commits mailing list