[llvm-commits] [patch] ThreeStageLoopUnroll
David Blaikie
dblaikie at gmail.com
Tue Sep 27 14:48:21 PDT 2011
>
> 2) General llvm convention is to avoid
>
> + bool candidate = L->isThreeStageUnrollCandidate(L, LI);
> + if(candidate) {
> ….
>
> and do
>
> + if (bool candidate = … ) {
> + }
>
> if candidate is not used outside "if".
>
At that point you might as well just write:
if (L->isThreeStageUnrollCandidate(L, LI)) {
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110927/dcc54e4f/attachment.html>
More information about the llvm-commits
mailing list