[llvm-dev] RFC: Pass Execution Instrumentation interface

David A. Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 13 11:30:13 PDT 2018


Philip Pfaffe <philip.pfaffe at gmail.com> writes:

> This seems to be pretty much orthogonal to the pass manager
> instrumentation. In fact, there is nothing keeping you from
> implementing this for your pass right now using debug counters. That's
> mostly their job, and they are independent of the pass manager
> implementation.

Yes, it sounds like that will work.  When I did things on our end, those
didn't exist.

>     See my reply to Philip. I'm talking about various analyses that
>     happen
>     within transformation passes.
>
> I see, then I just misunderstood what you meant by analysis. I believe
> what you were going here for can as well be implemented on top of
> debug counters.

I don't think anything is needed other than debug counters, if I'm
understanding how they work.  If we wanted some kind of global limit
that would require more, but we haven't found a need for that.

Thanks for the pointer!

                            -David


More information about the llvm-dev mailing list