[PATCH] D108703: [SLP]No need to schedule/check parent for extract{element/value} instruction.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 08:03:59 PDT 2021
ABataev created this revision.
ABataev added reviewers: RKSimon, spatel, anton-afanasyev, dtemirbulatov.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108703
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/remark_extract_broadcast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108703.368638.patch
Type: text/x-patch
Size: 7347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/d9b182c1/attachment.bin>
More information about the llvm-commits
mailing list