Re: [PATCH 6/6] PHIOPT: Add support for diamond shaped bb to match_simplify_replacement

2023-04-24 Thread Richard Biener via Gcc-patches
On Sun, Apr 23, 2023 at 12:13 AM Andrew Pinski via Gcc-patches wrote: > > This adds diamond shaped form of basic blocks to match_simplify_replacement. > This is the patch is the start of removing/moving all > of what minmax_replacement does to match.pd to reduce the code duplication. > > OK? Boots

[PATCH 6/6] PHIOPT: Add support for diamond shaped bb to match_simplify_replacement

2023-04-22 Thread Andrew Pinski via Gcc-patches
This adds diamond shaped form of basic blocks to match_simplify_replacement. This is the patch is the start of removing/moving all of what minmax_replacement does to match.pd to reduce the code duplication. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. Note phi-opt-{23,24}.