[llvm-dev] [RFC] BOLT: A Framework for Binary Analysis, Transformation, and Optimization

Rafael Auler via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 26 16:53:52 PST 2021

Hi Andrey,

We appreciate your interest and we look forward to collaborating. We are currently rebasing BOLT on top of LLVM trunk. Since it’s been a while since the last rebase, this is a bit of an involved task and we need to work through a rather lengthy list of conflicts. After we finish this and make sure BOLT works on the new repo, we plan to publish the list of commits and the merging diff so the community can evaluate a project merge proposal that works.

Regarding the project organization, remember BOLT was created before llvm monorepo. To address this, we are currently going for a similar approach to the one used by flang, re-editing all of our history on top of a new folder structure (root repo /bolt, similar to /flang), but trying to keep old commits mostly intact so we preserve project history -- I’m happy to change this to whatever makes more sense to the community. The least intrusive way to do this that I found was the flang merge approach. Now, because the project is not so small, we need a starting point that works in LLVM trunk, everything self-contained in /bolt with as few diffs as possible in /llvm, and then from there possibly work on evolving the project to other suggested organization (such as breaking up BOLT in a lib in llvm/lib). But first we wanted to start with the rebase that we knew would take some time.

That’s the gist of the current direction, thanks for pinging!


From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Andrey Bokhanko via llvm-dev <llvm-dev at lists.llvm.org>
Date: Tuesday, January 26, 2021 at 2:31 AM
To: llvm-dev <llvm-dev at lists.llvm.org>, Maksim Panchenko <maks at fb.com>
Subject: Re: [llvm-dev] [RFC] BOLT: A Framework for Binary Analysis, Transformation, and Optimization
One more thing (to clarify my interest): my team is working on Golang
support in BOLT, and we're keen to open-source our developments
(pending approvals from the higher-ups). It's much more preferable for
us to contribute our code to LLVM project.

On Tue, Jan 26, 2021 at 1:26 PM Andrey Bokhanko
<andreybokhanko at gmail.com> wrote:
> Hi Maksim,
> Any updates on adding BOLT to LLVM?
> If you need any help / support, feel free to ask. The World is waiting
> for BOLT! :-)
> Yours,
> Andrey
> ===
> Director
> Advanced Software Technology Lab
> Huawei
LLVM Developers mailing list
llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210127/40634449/attachment-0001.html>

More information about the llvm-dev mailing list