diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-09 19:22:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-09 19:22:40 +0000 |
| commit | 6eda79f69af566ac0a361a04cc55c7d6d4d150e4 (patch) | |
| tree | 3fa1113a1aac1f79df9a9b8142742ca482b9bf5b | |
| parent | d235d37d2719109ae715ca8d99750598131dbf5e (diff) | |
| download | bcm5719-llvm-6eda79f69af566ac0a361a04cc55c7d6d4d150e4.tar.gz bcm5719-llvm-6eda79f69af566ac0a361a04cc55c7d6d4d150e4.zip | |
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.
llvm-svn: 176775
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 3da0f5d2104..07dd4534249 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -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. |

