summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-02-07 17:43:34 +0000
committerSanjay Patel <spatel@rotateright.com>2019-02-07 17:43:34 +0000
commit2d4b186844ab56768165240f2cc32b7cec53bf02 (patch)
tree2e4958962155f25218d344330408eb30d736900d /lldb/packages/Python/lldbsuite/test/python_api
parentc83b82363c6d19dbfc5d148438a274f1f85b9188 (diff)
downloadbcm5719-llvm-2d4b186844ab56768165240f2cc32b7cec53bf02.tar.gz
bcm5719-llvm-2d4b186844ab56768165240f2cc32b7cec53bf02.zip
[DAGCombiner] fold add/sub with bool operand based on target's boolean contents
I noticed that we are missing this canonicalization in IR: rL352515 ...and then realized that we don't get this right in SDAG either, so this has to be fixed first regardless of what we choose to do in IR. The existing fold was limited to scalars and using the wrong predicate to guard the transform. We have a boolean contents TLI query that can be used to decide which direction to fold. This may eventually lead back to the problems/question in: https://bugs.llvm.org/show_bug.cgi?id=40486 ...but it makes no difference to that yet. Differential Revision: https://reviews.llvm.org/D57401 llvm-svn: 353433
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud