diff options
author | Nikita Popov <npopov@redhat.com> | 2022-05-04 17:35:18 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-05-05 11:10:11 +0200 |
commit | 9678936f180776db4ebd960fa2eb06b3a61bc94c (patch) | |
tree | 9b6555539d9355a2754a18583f5b8cfd889e5c0f /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 6bd2b70877615bac018f54b09bd8c97155d52a45 (diff) | |
download | llvm-9678936f180776db4ebd960fa2eb06b3a61bc94c.zip llvm-9678936f180776db4ebd960fa2eb06b3a61bc94c.tar.gz llvm-9678936f180776db4ebd960fa2eb06b3a61bc94c.tar.bz2 |
[DAGCombine] Fold (X & ~Y) | Y with truncated not
This extends the (X & ~Y) | Y to X | Y fold to also work if ~Y is
a truncated not (when taking into account the mask X). This is
done by exporting the infrastructure added in D124856 and reusing
it here.
I've retained the old value of AllowUndefs=false, though probably
this can be switched to true with extra test coverage.
Differential Revision: https://reviews.llvm.org/D124930
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions