Maksim Panchenko via llvm-dev
2015-Sep-03 20:38 UTC
[llvm-dev] LLVM as a back end for HHVM
Hi All, Our team at Hip-Hop Virtual Machine (http://hhvm.com<http://hhvm.com/>) have been experimenting with using LLVM as a code generator for x86-64. We have been successfully running it for quite some time as a secondary back end. We had to modify our version of LLVM and our mods were based on 3.5 release. At this point we feel our requirements have become stable enough to start upstreaming our diffs. A high-level overview of LLVM changes could be found at: https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm The set of patches will be loosely based on the above, as some of our interfaces have changed since we’ve merged with the trunk. All feedback is welcome. Please let me know if you are interested and I’ll CC you explicitly on the reviews. Thanks, Maksim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150903/2c746d1a/attachment.html>
Hi,> On Sep 3, 2015, at 1:38 PM, Maksim Panchenko via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi All, > > Our team at Hip-Hop Virtual Machine (http://hhvm.com <http://hhvm.com/>) have been experimenting with using LLVM as a code generator for x86-64. We have been successfully running it for quite some time as a secondary back end. We had to modify our version of LLVM and our mods were based on 3.5 release. At this point we feel our requirements have become stable enough to start upstreaming our diffs.Great to read that you will upstream stuff!> > A high-level overview of LLVM changes could be found at: > > https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm <https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm> > > The set of patches will be loosely based on the above, as some of our interfaces have changed since we’ve merged with the trunk. > > All feedback is welcome. Please let me know if you are interested and I’ll CC you explicitly on the reviews.The patch is huge, I expect many small patches won’t be too much controversial, but it would be nice to have some RFC-like document to discuss some high-level design details. And I’ll be happy to be CC’ed on the reviews. Thanks, — Mehdi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150903/1d7d4db5/attachment.html>
Maksim Panchenko via llvm-dev
2015-Sep-03 22:48 UTC
[llvm-dev] LLVM as a back end for HHVM
On 9/3/15, 3:34 PM, "Mehdi Amini" <mehdi.amini at apple.com<mailto:mehdi.amini at apple.com>> wrote: Hi, On Sep 3, 2015, at 1:38 PM, Maksim Panchenko via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi All, Our team at Hip-Hop Virtual Machine (http://hhvm.com<http://hhvm.com/>) have been experimenting with using LLVM as a code generator for x86-64. We have been successfully running it for quite some time as a secondary back end. We had to modify our version of LLVM and our mods were based on 3.5 release. At this point we feel our requirements have become stable enough to start upstreaming our diffs. Great to read that you will upstream stuff! A high-level overview of LLVM changes could be found at: https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm The set of patches will be loosely based on the above, as some of our interfaces have changed since we’ve merged with the trunk. All feedback is welcome. Please let me know if you are interested and I’ll CC you explicitly on the reviews. The patch is huge, I expect many small patches won’t be too much controversial, but it would be nice to have some RFC-like document to discuss some high-level design details. That makes sense. I would think features like “location records” to be useful outside of our project, and agree that it’ll require an RFC. And I’ll be happy to be CC’ed on the reviews. Sounds good! Thanks, Maksim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150903/e3c4cf1f/attachment.html>
Great to see these contributions, Maksim. I'd be very happy to help with the reviews, and I can probably recruit a few more if you need more eyes on it. Thanks... -Dave On 09/03/2015 04:38 PM, Maksim Panchenko via llvm-dev wrote:> Hi All, > > Our team at Hip-Hop Virtual Machine (http://hhvm.com > <http://hhvm.com/>) have been experimenting with using LLVM as a code > generator for x86-64. We have been successfully running it for quite > some time as a secondary back end. We had to modify our version of > LLVM and our mods were based on 3.5 release. At this point we feel our > requirements have become stable enough to start upstreaming our diffs. > > A high-level overview of LLVM changes could be found at: > > https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm > > The set of patches will be loosely based on the above, as some of our > interfaces have changed since we’ve merged with the trunk. > > All feedback is welcome. Please let me know if you are interested and > I’ll CC you explicitly on the reviews. > > Thanks, > Maksim > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150904/26300ee1/attachment.html>
Glad to hear you're able to start upstreaming changes. I'd be happy to act as a reviewer for the location records and smashable changes. This sounds very close to what we have/need and coming up with a common representation based on your work would be great. Philip On 09/03/2015 01:38 PM, Maksim Panchenko via llvm-dev wrote:> Hi All, > > Our team at Hip-Hop Virtual Machine (http://hhvm.com > <http://hhvm.com/>) have been experimenting with using LLVM as a code > generator for x86-64. We have been successfully running it for quite > some time as a secondary back end. We had to modify our version of > LLVM and our mods were based on 3.5 release. At this point we feel our > requirements have become stable enough to start upstreaming our diffs. > > A high-level overview of LLVM changes could be found at: > > https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm > > The set of patches will be loosely based on the above, as some of our > interfaces have changed since we’ve merged with the trunk. > > All feedback is welcome. Please let me know if you are interested and > I’ll CC you explicitly on the reviews. > > Thanks, > Maksim > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://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/20150904/6ac03a46/attachment-0001.html>
Maksim, I would be very happy to assist in any way possible. Please include me on any code review or RFCs. Chad From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Dave Estes via llvm-dev Sent: Friday, September 04, 2015 11:40 AM To: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] LLVM as a back end for HHVM Great to see these contributions, Maksim. I'd be very happy to help with the reviews, and I can probably recruit a few more if you need more eyes on it. Thanks... -Dave On 09/03/2015 04:38 PM, Maksim Panchenko via llvm-dev wrote: Hi All, Our team at Hip-Hop Virtual Machine (http://hhvm.com <http://hhvm.com/> ) have been experimenting with using LLVM as a code generator for x86-64. We have been successfully running it for quite some time as a secondary back end. We had to modify our version of LLVM and our mods were based on 3.5 release. At this point we feel our requirements have become stable enough to start upstreaming our diffs. A high-level overview of LLVM changes could be found at: https://github.com/facebook/hhvm/tree/master/hphp/tools/llvm The set of patches will be loosely based on the above, as some of our interfaces have changed since we’ve merged with the trunk. All feedback is welcome. Please let me know if you are interested and I’ll CC you explicitly on the reviews. Thanks, Maksim _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150904/bf37547f/attachment.html>