[Bug tree-optimization/111564] Missed optimization of Loop Unswitch

2023-09-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111564 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug tree-optimization/111564] Missed optimization of Loop Unswitch

2023-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111564 --- Comment #2 from Andrew Pinski --- For example 2: /app/example.cpp:11:55: note: not unswitching condition, cost too big (53 insns copied to 51 and 49) So this is based on a cost model which seems reasonible ...

[Bug tree-optimization/111564] Missed optimization of Loop Unswitch

2023-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111564 --- Comment #1 from Andrew Pinski --- /app/example.cpp:8:51: note: not unswitching condition, cost too big (45 insns copied to 43 and 45)