llvm-project/llvm/include
Nikita Popov 9678936f18 [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
2022-05-05 11:10:11 +02:00
..
llvm [DAGCombine] Fold (X & ~Y) | Y with truncated not 2022-05-05 11:10:11 +02:00
llvm-c [CAPI] Expose CastInst::getCastOpcode in C API 2022-04-30 18:40:04 -04:00