search for: unrollcountpragmavalu

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

Did you mean: unrollcountpragmavalue
2018 Jan 11
0
question about unrolling loops with convergent instructions
...ads, any kind of unrolling is // safe. But currently llvm's notion of convergence isn't powerful // enough to express this. if (Convergent) UP.AllowRemainder = false; Later in computeUnrollCount, there is // 2nd priority is unroll count set by pragma. unsigned PragmaCount = UnrollCountPragmaValue(L); if (PragmaCount > 0) { UP.Count = PragmaCount; UP.Runtime = true; UP.AllowExpensiveTripCount = true; UP.Force = true; if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < PragmaUnrollThreshold) return true; } Because UP.AllowRemainde...