summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/default-constructor
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-09-26 12:16:01 +0000
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-09-26 12:16:01 +0000
commit163c54d288b20a394de59f808401b0a19f71a472 (patch)
tree4f3049cba9fa82b5f3fe7087e7d40c14d0713e90 /lldb/packages/Python/lldbsuite/test/python_api/default-constructor
parentf685aa73aa815ce79116ad4447798037779b9d9a (diff)
downloadbcm5719-llvm-163c54d288b20a394de59f808401b0a19f71a472.tar.gz
bcm5719-llvm-163c54d288b20a394de59f808401b0a19f71a472.zip
[InstCombine] Don't assume CmpInst has been visited in getFlippedStrictnessPredicateAndConstant
Summary: Removing an assumption (assert) that the CmpInst already has been simplified in getFlippedStrictnessPredicateAndConstant. Solution is to simply bail out instead of hitting the assertion. Instead we assume that any profitable rewrite will happen in the next iteration of InstCombine. The reason why we can't assume that the CmpInst already has been simplified is that the worklist does not guarantee such an ordering. Solves https://bugs.llvm.org/show_bug.cgi?id=43376 Reviewers: spatel, lebedev.ri Reviewed By: lebedev.ri Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68022 llvm-svn: 372972
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud