On Sun, 19 Nov 2023, Jeff Law wrote: > Is this an improvement over what if-convert creates for a conditional add or > is the goal to expose the sequence earlier in the pipeline rather than waiting > for ifcvt?
TBH I haven't ever seen if-convert eliminate a branch here without this pattern supplied. Maybe I've missed something in my previous evaluation, but building a representative subset of the add*.c test cases from this patch series without the `-mmovcc' option seems to confirm my observation, so I consider it a new feature rather than just an improvement. This is also why in the cover letter I suggested that we may consider moving this optimisation into if-convert proper later on, to benefit other targets. Maciej