[PATCH] D26727: [LoopVectorize] Fix for non-determinism in codegen
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 18:20:46 PST 2016
mgrang created this revision.
mgrang added a reviewer: mssimpso.
mgrang added a subscriber: llvm-commits.
mgrang set the repository for this revision to rL LLVM.
Herald added a subscriber: mzolotukhin.
This patch fixes issues in codegen uncovered due to https://reviews.llvm.org/D26718
Repository:
rL LLVM
https://reviews.llvm.org/D26727
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
Index: lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- lib/Transforms/Vectorize/LoopVectorize.cpp
+++ lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -5497,7 +5497,7 @@
// 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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26727.78122.patch
Type: text/x-patch
Size: 637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/07891bc0/attachment.bin>
More information about the llvm-commits
mailing list