Displaying 2 results from an estimated 2 matches for "becountsc".
2015 Oct 12
2
question about llvm partial unrolling/runtime unrolling
...ives values to all
the Partial* members, but the loop still doesn't unroll.
The unrolling process hits this code in LoopUnrollRuntime.cpp
// Only unroll loops with a computable trip count and the trip count needs
// to be an int value (allowing a pointer type is a TODO item)
const SCEV *BECountSC = SE->getBackedgeTakenCount(L);
if (isa<SCEVCouldNotCompute>(BECountSC) ||
!BECountSC->getType()->isIntegerTy())
return false;
BECountSC=0xcccccccc and returns false here.
Based on the comments it looks like I still need a constant loop counter.
Is there a way to unroll...
2015 Oct 16
2
question about llvm partial unrolling/runtime unrolling
...embers, but the loop still doesn't unroll.
>
> The unrolling process hits this code in LoopUnrollRuntime.cpp
>
> // Only unroll loops with a computable trip count and the trip count
> needs
> // to be an int value (allowing a pointer type is a TODO item)
> const SCEV *BECountSC = SE->getBackedgeTakenCount(L);
> if (isa<SCEVCouldNotCompute>(BECountSC) ||
> !BECountSC->getType()->isIntegerTy())
> return false;
>
> BECountSC=0xcccccccc and returns false here.
>
> Based on the comments it looks like I still need a constant loop...