[PATCH] D26727: [LoopVectorize] Fix for non-determinism in codegen

Mandeep Singh Grang via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 11:03:10 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL287135: [LoopVectorize] Fix for non-determinism in codegen (authored by mgrang).

Changed prior to commit:
  https://reviews.llvm.org/D26727?vs=78122&id=78225#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26727

Files:
  llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp


Index: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ llvm/trunk/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.78225.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161116/a4a61b72/attachment.bin>


More information about the llvm-commits mailing list