[polly] r256199 - Add option to assume single-loop scops with sufficient compute are profitable

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 08:52:55 PST 2015


On 12/21, Tobias Grosser via llvm-commits wrote:
> +  for (auto *BB : Context.CurRegion.blocks())
> +    if (Context.CurRegion.contains(LI->getLoopFor(BB)))
> +      InstCount += std::distance(BB->begin(), BB->end());
Whye not BB->size() ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151222/1dc72b92/attachment.sig>


More information about the llvm-commits mailing list