[LLVMdev] Getting the trip count of a loop
prakash.prabhu at gmail.com
Sat Apr 26 11:46:16 PDT 2008
Thanks for the quick reply. Created Bug 2253:
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.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev