tree vectorization: gcc optimization flag

Viewed 5365

I have noticed that the gcc flag -ftree-vectorize is very useful for optimizing code.

I am trying to understand better how it works, but the doc is fairly concise:

Perform vectorization on trees. This flag enables -ftree-loop-vectorize and -ftree-slp-vectorize if not explicitly specified.

Does anyone know the inner workings of this flag?

1 Answers
Related