summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDavid Stenberg <david.stenberg@ericsson.com>2018-05-18 08:52:15 +0000
committerDavid Stenberg <david.stenberg@ericsson.com>2018-05-18 08:52:15 +0000
commit0af67e5b651b49220af5101f1592bd9a2e314c0e (patch)
treeb4db302439f7c7ab1d414100eafab6f40374006c /lldb/packages/Python/lldbsuite/test
parentda3f49a435004f588baa4e2bb2dd352bef753a15 (diff)
downloadbcm5719-llvm-0af67e5b651b49220af5101f1592bd9a2e314c0e.tar.gz
bcm5719-llvm-0af67e5b651b49220af5101f1592bd9a2e314c0e.zip
[SimplifyCFG] Fix a debug invariant bug in FoldBranchToCommonDest()
Summary: Fix a case where FoldBranchToCommonDest() would bail out from doing CSE when encountering a debug intrinsic. Handle that by skipping past the debug intrinsics. Also, as a minor refactoring, rename checkCSEInPredecessor() to tryCSEWithPredecessor() to make it a bit more clear that the function may remove instructions. Reviewers: fhahn, craig.topper, dblaikie, xbolva00 Reviewed By: fhahn, xbolva00 Subscribers: vsk, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D46635 llvm-svn: 332698
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud