search for: disableunrolling

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

2013 Oct 23
0
[LLVMdev] [PATCH] Loop Rerolling Pass
...yzing 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) { DEBUG(dbgs() << "LV: Not vectorizing.\n"); return false; } After doing this no vectorized loop should be analyzed again. If not I very much like to know. http://llvm.org/bugs/show_bug.cgi?id=17662 Thanks...