diff options
author | David Green <david.green@arm.com> | 2024-02-06 12:39:48 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2024-02-06 12:39:48 +0000 |
commit | 2e3de997ab7cd8728c484bc39e24fecbb97dfae8 (patch) | |
tree | a93f6a5607a3c4b18d82787e9e78e0992501a4e2 /llvm/lib/Object/COFFImportFile.cpp | |
parent | 29fa64f845df6b1ba3f562564ab97a07aa7077ee (diff) | |
download | llvm-2e3de997ab7cd8728c484bc39e24fecbb97dfae8.zip llvm-2e3de997ab7cd8728c484bc39e24fecbb97dfae8.tar.gz llvm-2e3de997ab7cd8728c484bc39e24fecbb97dfae8.tar.bz2 |
[DAG] Generalize setcc(setcc) fold to use known bits.
If we have a `SETCC (SETCC), 0, NE` and ZeroOrOneBooleanContent, we can remove
the outer setcc as it will produce the same value as the inner. This can be
generalized to anything where the top bits are known to be 0, as the value will
remain as 1 or 0.
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions