[Bug tree-optimization/103999] Vectorizer failed to reduce sum with conversion.

2022-01-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103999 Richard Biener changed: What|Removed |Added Blocks||53947 Keywords|

[Bug tree-optimization/103999] Vectorizer failed to reduce sum with conversion.

2022-01-12 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103999 --- Comment #1 from Hongtao.liu --- the difference between sum_reduce_cd and sum_reduce is one is 1.0 which is double and another is 1.0f which doesn't need any conversion and truncation.