Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM backend #12686

Closed
bencz opened this issue May 11, 2019 · 3 comments
Closed

LLVM backend #12686

bencz opened this issue May 11, 2019 · 3 comments
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI question Answer questions and provide assistance, not an issue with source code or documentation.
Milestone

Comments

@bencz
Copy link

bencz commented May 11, 2019

According to this issue I created ( https://github.com/dotnet/coreclr/issues/17294 ), creating a new backend for a new architecture is a complex job, so why not create a new backend that supports multiple architectures?
Mono have implemented a LLVM backend.
I say this because the Power and s390x architecture is returning with relative intensity...

@AndyAyersMS
Copy link
Member

A few years back we worked on an LLVM code generator for .Net: LLILC. We ran into a number of issues that looked like they were going to be difficult to address: support for precise GC, full support for the .Net exception model, and low throughput. You can read up on some of the details here: LLILC at Six Months.

Mono via LLVM uses conservative GC and (at least in some cases) does not handle the full range of exception behaviors. This is acceptable for Mono's application targets, but it is not general enough for our purposes.

LLILC might still be interesting as an upper-tier jit (someday) or as a bring-up vehicle to get basic codegen running on a new architecture.

@xiangzhai
Copy link
Contributor

Hi @AndyAyersMS

I fixed a simple build issue for LLILC dotnet/llilc#1097

Please review it.

Thanks,
Leslie Zhai

@BruceForstall
Copy link
Member

I'm going to close this issue, as the question has been answered.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Dec 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI question Answer questions and provide assistance, not an issue with source code or documentation.
Projects
None yet
Development

No branches or pull requests

5 participants