[PATCH] D82550: [SLPVectorizer] handle vectorized lib functions
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 12:54:09 PDT 2020
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5208
+ bool SrcMayWrite = BundleMember->Inst->mayWriteToMemory() &&
+ !isVectorizableLibFunctionCall(BundleMember->Inst);
unsigned numAliased = 0;
----------------
Still, this is a bad solution. Add proper attributes to the vector variants of the functions, so all memory access interfaces could properly handle such functions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82550/new/
https://reviews.llvm.org/D82550
More information about the llvm-commits
mailing list