[PATCH] D13259: LLE 6/6: Add LoopLoadElimination pass

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 09:07:45 PDT 2015


I'm confused.
AFAIK, we normally do *not* prefix the messages explicitly (i see this pass
does it in some places but not others, that should be changed to be not
prefixed, IMHO).

This pass has DEBUG_TYPE set to loop-load-elim at the top, so if you use
debug-only, you won't get them unless you specify debug-only=loop-load-elim.

I would suggest rather than prefix *anything*, anywhere, that if we want
prefixes, we just have the DEBUG macro output the debug type in front of
the message ;-)

Then it's automatic, not confusing, and clear where it came from.




On Fri, Oct 30, 2015 at 9:01 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> rengolin added a comment.
>
> While working on top of this patch, I noticed that not all DEBUG()
> messages are prefixed with "LLE:", which may confuse people using
> -debug-only=.
>
>
> http://reviews.llvm.org/D13259
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151030/3682b5c1/attachment.html>


More information about the llvm-commits mailing list