diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 16:20:34 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-23 16:20:42 +0000 |
commit | 7c66aaddb128dc0f342830c1efaeb7a278bfc48c (patch) | |
tree | 7b9578930513faa81845be0b080ee3c965d081d8 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 116ab78694dd2ad903c3fb101d48e01855282bf8 (diff) | |
download | llvm-7c66aaddb128dc0f342830c1efaeb7a278bfc48c.zip llvm-7c66aaddb128dc0f342830c1efaeb7a278bfc48c.tar.gz llvm-7c66aaddb128dc0f342830c1efaeb7a278bfc48c.tar.bz2 |
[DAG] Fold (X & Y) != 0 --> zextOrTrunc(X & Y) iff everything but LSB is known zero (PR51312)
Fixes parity codegen issue where we know all but the lowest bit is zero, we can replace the ICMPNE with 0 comparison with a ext/trunc
Differential Revision: https://reviews.llvm.org/D117983
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions