[LLVMdev] Getting the trip count of a loop
Prakash Prabhu
prakash.prabhu at gmail.com
Sat Apr 26 11:46:16 PDT 2008
Thanks for the quick reply. Created Bug 2253:
http://llvm.org/bugs/show_bug.cgi?id=2253
- Prakash
On Sat, Apr 26, 2008 at 2:15 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Prakash Prabhu wrote:
> > I am trying to add a new loop pass in which I making a call to get the
> > trip count of the loop using
> >
> > Value *TripCountValue = L->getTripCount()
>
> That should work.
>
> Could you file a bug and attach the bytecode after 'opt -indvars
> -loop-rotate'? I would need that to determine why LoopInfo::getTripCount
> isn't returning any value.
>
> Nick
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080426/d9b3cb3c/attachment.html>
More information about the llvm-dev
mailing list