[PATCH] D104026: [SLP]Disable scheduling of insertelements.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 05:54:42 PDT 2021
ABataev created this revision.
ABataev added reviewers: RKSimon, dtemirbulatov, vdmitrie, anton-afanasyev.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.
There is no need to schedule insertelement instructions. The compiler
did not schedule them before it started support their vectorization and
it should not do it after. We pre-schedule them manually when finding
a build vector sequence.
Disabling scheduling of insertelement instructions improves compile
time and vectorization of the very large basic blocks by saving
scheduling budget for other instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104026
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104026.351144.patch
Type: text/x-patch
Size: 7261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/53398a6d/attachment.bin>
More information about the llvm-commits
mailing list