[llvm] r176775 - Remove a source of nondeterminism from the LoopVectorizer.
Benjamin Kramer
benny.kra at googlemail.com
Sat Mar 9 11:22:40 PST 2013
Author: d0k
Date: Sat Mar 9 13:22:40 2013
New Revision: 176775
URL: http://llvm.org/viewvc/llvm-project?rev=176775&view=rev
Log:
Remove a source of nondeterminism from the LoopVectorizer.
This made us emit runtime checks in a random order. Hopefully bootstrap
miscompares will go away now.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=176775&r1=176774&r2=176775&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sat Mar 9 13:22:40 2013
@@ -419,7 +419,7 @@ public:
/// Alias(Multi)Map stores the values (GEPs or underlying objects and their
/// respective Store/Load instruction(s) to calculate aliasing.
- typedef DenseMap<Value*, Instruction* > AliasMap;
+ typedef MapVector<Value*, Instruction* > AliasMap;
typedef DenseMap<Value*, std::vector<Instruction*> > AliasMultiMap;
/// Returns true if it is legal to vectorize this loop.
More information about the llvm-commits
mailing list