diff options
author | Mandeep Singh Grang <mgrang@codeaurora.org> | 2017-10-23 19:56:52 +0000 |
---|---|---|
committer | Mandeep Singh Grang <mgrang@codeaurora.org> | 2017-10-23 19:56:52 +0000 |
commit | 9ed81c66ce72abb343e154b201b95e3913e78c70 (patch) | |
tree | 9ebddefb1023d4a008c2d627f3b81837c22a23f7 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | d813309e034cb32436eb804f70d94da7bdb406cd (diff) | |
download | bcm5719-llvm-9ed81c66ce72abb343e154b201b95e3913e78c70.tar.gz bcm5719-llvm-9ed81c66ce72abb343e154b201b95e3913e78c70.zip |
[GVNSink] Fix failing GVNSink tests in the reverse iteration bot
Summary:
The elts of ActivePreds which is defined as a SmallPtrSet are copied
into Blocks using std::copy. This makes the resultant order of Blocks
non-deterministic. We cannot simply sort Blocks as they need to match
the corresponding Values. So a better approach is to define ActivePreds
as SmallSetVector.
This fixes the following failures in
http://lab.llvm.org:8011/builders/reverse-iteration:
LLVM :: Transforms/GVNSink/indirect-call.ll
LLVM :: Transforms/GVNSink/sink-common-code.ll
LLVM :: Transforms/GVNSink/struct.ll
Reviewers: dberlin, jmolloy, bkramer, efriedma
Reviewed By: dberlin
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D39025
llvm-svn: 316369
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions