diff options
author | Alina Sbirlea <asbirlea@google.com> | 2018-06-22 17:14:35 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2018-06-22 17:14:35 +0000 |
commit | bee50036d3104de631ec3f0eed3ca761ee4bce5e (patch) | |
tree | 4d48e9dd70c9c7c15163bdb89ae59a24e1135e0b /lldb/packages/Python/lldbsuite/test/python_api/default-constructor | |
parent | 1fa58109f9d7acb0bd6a63b27042ec4445e15877 (diff) | |
download | bcm5719-llvm-bee50036d3104de631ec3f0eed3ca761ee4bce5e.tar.gz bcm5719-llvm-bee50036d3104de631ec3f0eed3ca761ee4bce5e.zip |
[LoopUnswitch]Fix comparison for DomTree updates.
Summary:
In LoopUnswitch when replacing a branch Parent -> Succ with a conditional
branch Parent -> True & Parent->False, the DomTree updates should insert an edge for
each of True/False if True/False are different than Succ, and delete Parent->Succ edge
if both are different. The comparison with Succ appears to be incorect,
it's comparing with Parent instead.
There is no test failing either before or after this change, but it seems to me this is
the right way to do the update.
Reviewers: chandlerc, kuhar
Subscribers: sanjoy, jlebar, llvm-commits
Differential Revision: https://reviews.llvm.org/D48457
llvm-svn: 335369
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions