diff options
author | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-11-06 15:36:17 +0100 |
---|---|---|
committer | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-11-10 11:32:13 +0100 |
commit | a75d6178b809cf11d54af91e8e1254064d58f6eb (patch) | |
tree | ba8ebed0cfdc67a15bc7b325a0f740166aa5f9cc /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | fb36ab0a42f4ea8909c19c9e6759be5d617aef55 (diff) | |
download | llvm-a75d6178b809cf11d54af91e8e1254064d58f6eb.zip llvm-a75d6178b809cf11d54af91e8e1254064d58f6eb.tar.gz llvm-a75d6178b809cf11d54af91e8e1254064d58f6eb.tar.bz2 |
[GlobalISel] Add combine for (x | mask) -> x when (x | mask) == x
If we have a mask, and a value x, where (x | mask) == x, we can drop the OR
and just use x.
Differential Revision: https://reviews.llvm.org/D90952
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions