[PATCH] D99549: [LoopVectorize] Use SetVector to track uniform uses to prevent non-determinism.
Huihui Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 11:21:29 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfe5c4a06a49c: [LoopVectorize] Use SetVector to track uniform uses to prevent non-determinism. (authored by huihuiz).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99549/new/
https://reviews.llvm.org/D99549
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Index: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
===================================================================
--- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -5413,7 +5413,7 @@
// here is something which only demands lane 0 of the unrolled iterations;
// it does not imply that all lanes produce the same value (e.g. this is not
// the usual meaning of uniform)
- SmallPtrSet<Value *, 8> HasUniformUse;
+ SetVector<Value *> HasUniformUse;
// Scan the loop for instructions which are either a) known to have only
// lane 0 demanded or b) are uses which demand only lane 0 of their operand.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99549.334494.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/a8ca5674/attachment.bin>
More information about the llvm-commits
mailing list