[Bug tree-optimization/88598] simplification of multiplication by 1 or 0 fails

vincenzo.innocente at cern dot ch gcc-bugzilla@gcc.gnu.org
Thu Dec 27 13:43:00 GMT 2018


--- Comment #3 from vincenzo Innocente <vincenzo.innocente at cern dot ch> ---
what I am interested in is NOT a constant array, more a small-size
"sparse"-matrix that I can build explicitly at run time from other sources.
I have examples using Eigen if of any interest ( https://godbolt.org/z/2L9OBU )
Clang is excellent in optimizing out zeros and ones, gcc in vectorization.
I hope to get the best of the two!

More information about the Gcc-bugs mailing list