[PATCH] D131894: [SLP]Try to vectorize single store operands.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 05:10:17 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:12245
+ // Try to vectorize chain in store, if this is the only store to the
+ // address in the block.
+ if ((I == Stores.end() || I->second.size() == 1) &&
----------------
This comment suggests we're checking for aliasing of the pointer as well? But I thought this was supposed to be purely about the stored value having one use?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131894/new/
https://reviews.llvm.org/D131894
More information about the llvm-commits
mailing list