Displaying 2 results from an estimated 2 matches for "unrollruntime".
2012 Apr 03
1
[LLVMdev] Possible typo in LoopUnrollPass.cpp
...if (TripCount) {
// Reduce unroll count to be modulo of TripCount for partial unrolling
Count = CurrentThreshold / LoopSize;
<--------------------------should use Threshold
while (Count != 0 && TripCount%Count != 0)
Count--;
}
else if (UnrollRuntime) {
// Reduce unroll count to be a lower power-of-two value
while (Count != 0 && Size > CurrentThreshold) {
<--------------------------should use Threshold
Count >>= 1;
Size = LoopSize*Count;
}
}
2012 Feb 01
3
[LLVMdev] Loop Unroll a constant number of times?
Is it possible to unroll a loop (forcibly if necessary) with llvm (possibly
the -loop-unroll pass) a constant number of times.
I believe that I read that the -unroll-count=x option was removed, correct?
So is there some other way to do this or is this just not possible in llvm?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: