Skip to content

Commit ea9175f

Browse files
Revert "[SLP] Support memory runtime alias checks"
This reverts commit 96a53b1 to fix buildbots https://lab.llvm.org/buildbot/#/builders/223/builds/7209 reported in llvm/llvm-project#209305 Reviewers: Pull Request: llvm/llvm-project#209793
1 parent 4279d52 commit ea9175f

4 files changed

Lines changed: 27 additions & 1193 deletions

File tree

llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -172,25 +172,12 @@ struct SLPVectorizerPass : public OptionalPassInfoMixin<SLPVectorizerPass> {
172172
unsigned Idx, unsigned MinVF,
173173
unsigned &Size);
174174

175-
/// Single vectorization attempt for a store chain. \p vectorizeStoreChain
176-
/// wraps this to retry once with runtime alias checks enabled when the
177-
/// normal attempt is blocked only by runtime-checkable may-alias
178-
/// dependencies.
179-
std::optional<bool> vectorizeStoreChainImpl(ArrayRef<Value *> Chain,
180-
slpvectorizer::BoUpSLP &R,
181-
unsigned Idx, unsigned MinVF,
182-
unsigned &Size);
183-
184175
bool vectorizeStores(
185176
ArrayRef<StoreInst *> Stores, slpvectorizer::BoUpSLP &R,
186177
DenseSet<std::tuple<Value *, Value *, Value *, Value *, unsigned>>
187178
&Visited,
188179
bool AllowMaskedStores = true);
189180

190-
/// Set by runImpl() when runtime alias check versioning changed the CFG, so
191-
/// run() can drop CFG-analysis preservation only when necessary.
192-
bool CFGChanged = false;
193-
194181
/// The store instructions in a basic block organized by base pointer.
195182
StoreListMap Stores;
196183

0 commit comments

Comments
 (0)