[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>
Wed, 25 Aug 2021 16:27:55 +0000 (09:27 -0700)
commita36bc873a269dca0c5399d72bfdd42d3ddc72671
tree38da9f66817d5202a0aa84c99581479c7392ce0d
parent24201b6437b2acad035fe474ec37f733e9045174
[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