search for: loopvectorizerhints

Displaying 1 result from an estimated 1 matches for "loopvectorizerhints".

Did you mean: loopvectorizehints
2013 Oct 23
0
[LLVMdev] [PATCH] Loop Rerolling Pass
...ed the loop vectorizer out of the scc-module pass manager we should only run once on every new loop. The vectorized loop is a new loop so runOnLoop will probably be called again. But the Hint we put in the IR should prevent us from analyzing such loops. I think what you might be seeing is a bug in LoopVectorizerHints: /// Mark the loop L as already vectorized by setting the width to 1. void setAlreadyVectorized(Loop *L) We should set width *and* unroll to one. Because this is how we use it: LoopVectorizeHints Hints(L, DisableUnrolling); if (Hints.Width == 1 && Hints.Unroll == 1) {...