https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112657
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is converted to a csel on aarch64 so it is either ifcvt.cc rejecting the issue or a tuning issue with the x86_64 backend. x86_64: ``` IF-THEN-JOIN block found, pass 1, test 2, then 3, join 4 ========== no more changes 1 possible IF blocks searched. 0 IF blocks converted. 0 true changes made. ``` vs aarch64: ``` IF-THEN-JOIN block found, pass 1, test 2, then 3, join 4 scanning new insn with uid = 30. scanning new insn with uid = 31. scanning new insn with uid = 32. if-conversion succeeded through noce_try_cmove ... ```