summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2019-09-09 18:29:27 +0000
committerEli Friedman <efriedma@quicinc.com>2019-09-09 18:29:27 +0000
commit79f0d3a6e58b80e38040c9ef639431a268422058 (patch)
tree4a339671612c57ce208d3f1b6334144e2b959cd7 /lldb/packages/Python/lldbsuite/test/python_api
parentc195bde3d4db7bd5746aecd9cbdf6c386968e660 (diff)
downloadbcm5719-llvm-79f0d3a6e58b80e38040c9ef639431a268422058.tar.gz
bcm5719-llvm-79f0d3a6e58b80e38040c9ef639431a268422058.zip
[IfConversion] Correctly handle cases where analyzeBranch fails.
If analyzeBranch fails, on some targets, the out parameters point to some blocks in the function. But we can't use that information, so make sure to clear it out. (In some places in IfConversion, we assume that any block with a TrueBB is analyzable.) The change to the testcase makes it trigger a bug on builds without this fix: IfConvertDiamond tries to perform a followup "merge" operation, which isn't legal, and we somehow end up with a branch to a deleted MBB. I'm not sure how this doesn't crash the compiler. Differential Revision: https://reviews.llvm.org/D67306 llvm-svn: 371434
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud