Does anyone know what this option does in clang?

When I do a -### i see

"-backend-option" "-vectorize-loops"

I'm trying to recreate a problem in llc but when I save the intermediate file I'm unable to
get the same failure in llc alone.



Hi Read,

this option is passed to the IR optimizer (both opt and llc are “the backend” for clang).

It turns on loop vectorization in the IR optimizer (PassManagerBuilder adds the LoopVectorizer pass to the pass pipeline).