#
58c9ad9c |
| 16-May-2023 |
Austin Chang <austin880625@gmail.com> |
[DAGCombiner] Add bswap(logic_op(bswap(x), y)) regression test case; NFC
Fold the following case on SelectionDAG combiner This patch includes the regression test cases
``` bswap(logic_op(x, bswap(y
[DAGCombiner] Add bswap(logic_op(bswap(x), y)) regression test case; NFC
Fold the following case on SelectionDAG combiner This patch includes the regression test cases
``` bswap(logic_op(x, bswap(y))) -> logic_op(bswap(x), y) bswap(logic_op(bswap(x), y)) -> logic_op(x, bswap(y)) bswap(logic_op(bswap(x), bswap(y))) -> logic_op(x, y) (with multiuse) ```
Reviewed By: goldstein.w.n
Differential Revision: https://reviews.llvm.org/D149782
show more ...
|