[SLP]No need to schedule/check parent for extract{element/value} instruction.
authorAlexey Bataev <a.bataev@outlook.com>
Wed, 25 Aug 2021 14:27:03 +0000 (07:27 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Tue, 28 Sep 2021 13:13:55 +0000 (06:13 -0700)
commit8bacfb9bedf10a2e446db072be2c1cd2cd1d7aab
treea90cd978d17cc56004470655b359d21f5be7434a
parent45e75d93821f7e4f04d9f42cb19f729b346e7c0c
[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
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/remark_extract_broadcast.ll