Re: [PATCH 4/4] phiopt: Use rewrite_to_defined_overflow in move_stmt [PR116938]

2025-05-05 Thread Richard Biener
On Mon, May 5, 2025 at 3:42 AM Andrew Pinski wrote: > > As mentioned previously the rewrite in move_stmt should be > using rewrite_to_defined_overflow/gimple_with_undefined_signed_overflow > instead of just rewriting the VCE. > This moves move_stmt over to that. > > A few testcases needed to be up

[PATCH 4/4] phiopt: Use rewrite_to_defined_overflow in move_stmt [PR116938]

2025-05-04 Thread Andrew Pinski
As mentioned previously the rewrite in move_stmt should be using rewrite_to_defined_overflow/gimple_with_undefined_signed_overflow instead of just rewriting the VCE. This moves move_stmt over to that. A few testcases needed to be updated due to ABS_EXPR rewrite that happens. Bootstrapped and test