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

cilkplus via All-commits all-commits at lists.llvm.org
Wed Aug 25 09:45:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a36bc873a269dca0c5399d72bfdd42d3ddc72671
      https://github.com/llvm/llvm-project/commit/a36bc873a269dca0c5399d72bfdd42d3ddc72671
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-08-25 (Wed, 25 Aug 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