forked from OSchip/llvm-project
[LoopVectorize] Fix for non-determinism in codegen
Summary: This patch fixes issues in codegen uncovered due to https://reviews.llvm.org/D26718 Reviewers: mssimpso Subscribers: llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D26727 llvm-svn: 287135
This commit is contained in:
parent
d3c4e1b11f
commit
000ce9a686
|
@ -5497,7 +5497,7 @@ void LoopVectorizationLegality::collectLoopUniforms() {
|
|||
// are pointers that are treated like consecutive pointers during
|
||||
// vectorization. The pointer operands of interleaved accesses are an
|
||||
// example.
|
||||
SmallPtrSet<Instruction *, 8> ConsecutiveLikePtrs;
|
||||
SmallSetVector<Instruction *, 8> ConsecutiveLikePtrs;
|
||||
|
||||
// Holds pointer operands of instructions that are possibly non-uniform.
|
||||
SmallPtrSet<Instruction *, 8> PossibleNonUniformPtrs;
|
||||
|
|
Loading…
Reference in New Issue