[llvm-dev] PathProfiler in LLVM

Shivam Gupta via llvm-dev llvm-dev at lists.llvm.org
Sat Jun 12 08:23:07 PDT 2021


On Sat, Jun 12, 2021, 8:31 PM Sumit Lahiri <lahiri.phdworks at gmail.com>
wrote:

> Hi Shivam,
>
> Thanks for your reply. Actually in my project I need to select paths based
> on the results of the ball-laurus path profiling algorithm.
>
> I can rewrite this code to match the current llvm repository so that it
> builds properly.
>
> Can you tell my how I can raise an RFC to the llvm-dev community? Should I
> do it over mail to llvm-dev
>

Yeah, llvm-dev mailing list is the right place. You can find lots of
examples on mailing list archive for how to write an RFC if you didn't
write it before. An example is
https://lists.llvm.org/pipermail/llvm-dev/2021-June/150814.html .

>
> Thanks
> Sumit Lahiri
>
> On Sat, 12 Jun, 2021, 8:22 pm Shivam Gupta, <shivam98.tkg at gmail.com>
> wrote:
>
>> Hi,
>>
>> On Fri, Jun 11, 2021 at 11:37 PM Sumit Lahiri via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>
>>> Hello Everyone,
>>>
>>> I am involved in a project where I need to have the functionality of the
>>> PathProfiler that used to be a part of an earlier version of LLVM. I have
>>> provided a link to the code I am referring to.
>>>
>>>
>>> https://opensource.apple.com/source/lldb/lldb-159/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp.auto.html
>>>
>>> This code for PathProfiler.cpp has been removed from LLVM since then.
>>>
>>> - Can this be added back with some modifications into the current LLVM
>>> source?
>>>
>>
>> It seems Ball-Larus path profiling was removed
>> <https://github.com/llvm/llvm-project/commit/ea564946251eb425fafde97e6398ec52a9ff6bf8>
>> in 2013 due to lack of maintenance. If you explain your use case or project
>> details or send an RFC, domain experts might tell if the modified work is
>> accepted or not in the LLVM source tree.
>>
>> - What other options can I explore if adding it is not an option? (Any
>>> default profiler in LLVM that does this?)
>>>
>>> Any help in this regard would be greatly appreciated.
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Sumit Lahiri
>>> PhD. Research Scholar
>>> Dept of CSE, IIT Kanpur
>>>
>>> https://www.cse.iitk.ac.in/users/sumitl/
>>> https://github.com/lahiri-phdworks
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> llvm-dev at lists.llvm.org
>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210612/c8d73b42/attachment.html>


More information about the llvm-dev mailing list