|
|
On Fri, 2005-01-21 at 10:10 -0500, Diego Novillo wrote:
> Daniel Berlin wrote:
>
> > -@defmac NUM_USES (@var{ops})
> > -Return the number of USE operands in array @var{ops}.
> > -@end defmac
> > -
> Hmm, NUM_* are useful regardless of whether we want to force
> optimizations to use iterators. Useful in passes that want to ignore
> statements with virtual operands, for instance. For 4.1, those macros
> ought to disappear.
The problem is that they currently also require the other macros.
If we really want to keep them, they should be modified to work on the
statement, and hide how they are getting the number from the user :)
>
> Other than that, I agree with the other changes.
>
>
> Diego.
|
|