[LLVMdev] [PATCH] Split LoopUnroll pass into mechanism and policy

Matthijs Kooijman matthijs at stdin.nl
Wed May 7 13:45:21 PDT 2008


Hi Dan,

> > 2. Add two methods to the Loop class. Currently, there is a
> > getTripCount() method that returns the trip count as a Value*. Perhaps we
> > could  add a getTripCountConst() (or getTripCountInt() ?) and
> > getTripCountMultiple() to Loop?

> The second option sounds nicer to me too. Is the name
> getSmallConstantTripCount too paranoid?
Paranoid in what sense? I generally like long names, so this sounds fine by me
:-)

I assume the Small part is because it limits to 32 bits?


> Transform utilities can go under lib/Transforms/Utils. :-)
Hmm, that's exactly what I _meant_ to type :-)

I'll implement this in the morning (T minus 10).

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080507/1585059f/attachment.sig>


More information about the llvm-dev mailing list