[Bug target/112657] missed optimization: cmove not used with multiple returns

2023-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112657 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/112657] missed optimization: cmove not used with multiple returns

2023-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112657 --- Comment #1 from Andrew Pinski --- 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 ==