aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorMirko Brkusanin <Mirko.Brkusanin@amd.com>2020-11-06 14:15:10 +0100
committerMirko Brkusanin <Mirko.Brkusanin@amd.com>2020-11-10 11:32:13 +0100
commitfb36ab0a42f4ea8909c19c9e6759be5d617aef55 (patch)
tree638c3aa12ccacbf55c927e0b5527a9dcfee43317 /lldb/packages/Python/lldbsuite/test/dotest.py
parent53ae95c946c0d3a32e402d0815cf2de6c0f8c3d8 (diff)
downloadllvm-fb36ab0a42f4ea8909c19c9e6759be5d617aef55.zip
llvm-fb36ab0a42f4ea8909c19c9e6759be5d617aef55.tar.gz
llvm-fb36ab0a42f4ea8909c19c9e6759be5d617aef55.tar.bz2
[GlobalISel] Expand combine for (x & mask) -> x when (x & mask) == x
We can use KnownBitsAnalysis to cover cases when mask is not trivial. It can also help with cases when mask is not constant but can still be folded into one. Since 'and' is comutative we should treat both operands as possible replacements. Differential Revision: https://reviews.llvm.org/D90674
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions