[all-commits] [llvm/llvm-project] fe5c4a: [LoopVectorize] Use SetVector to track uniform use...
huihzhang via All-commits
all-commits at lists.llvm.org
Wed Mar 31 11:21:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe5c4a06a49c697399323cc55e2135a5452ed616
https://github.com/llvm/llvm-project/commit/fe5c4a06a49c697399323cc55e2135a5452ed616
Author: Huihui Zhang <huihuiz at quicinc.com>
Date: 2021-03-31 (Wed, 31 Mar 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LoopVectorize] Use SetVector to track uniform uses to prevent non-determinism.
Use SetVector instead of SmallPtrSet to track values with uniform use. Doing this
can help avoid non-determinism caused by iterating over unordered containers.
This bug was found with reverse iteration turning on,
--extra-llvm-cmake-variables="-DLLVM_REVERSE_ITERATION=ON".
Failing LLVM test consecutive-ptr-uniforms.ll .
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D99549
More information about the All-commits
mailing list