Status of LLVM support?

yasapir
Posts: 5
Joined: Thu Jul 11, 2019 3:32 am

Status of LLVM support?

Postby yasapir » Thu Jul 11, 2019 3:49 am

Hi!

Are there any updates regarding LLVM support? I'd like to try to use the current Rust compiler, but it uses LLVM 8 or 9, while the published fork is based on LLVM 6.

Thanks,
sapir


yasapir
Posts: 5
Joined: Thu Jul 11, 2019 3:32 am

Re: Status of LLVM support?

Postby yasapir » Fri Jul 19, 2019 12:52 pm

Thanks!

ESP_mabez
Posts: 5
Joined: Wed Feb 20, 2019 1:28 pm

Re: Status of LLVM support?

Postby ESP_mabez » Mon Aug 26, 2019 2:07 pm

Hi yasapir, the current status is that LLVM support patches are in review:
D64826: [Xtensa 1/10] Recognize Xtensa in triple parsing code.
D64827: [Xtensa 2/10] Add Xtensa ELF definitions.
D64829: [Xtensa 3/10] Add initial version of the Xtensa backend.
D64830: [Xtensa 4/10] Add basic *td files with Xtensa architecture description.
D64831: [Xtensa 5/10] Add Xtensa MCTargetDescr initial functionality.
D64832: [Xtensa 6/10] Add Xtensa basic assembler parser.
D64833: [Xtensa 7/10] Add Xtensa instruction printer.
D64834: [Xtensa 8/10] Add support of the Xtensa shift/load/store/move and processor control instructions.
D64835: [Xtensa 9/10] Add basic support of Xtensa disassembler.
D64836: [Xtensa 10/10] Add relaxations and fixups. Add rest part of Xtensa Core Instructions.

Is there a summary of the changes these patches would introduce, for someone who isn't deeply familiar with llvm internals? For example object generation? I also see that AsmPrinter hasn't made it into these patches, something we require for Rust (using an external assembler), this of course doesn't matter if these patches do include object generation.

kortschak
Posts: 5
Joined: Mon Feb 11, 2019 2:25 am

Re: Status of LLVM support?

Postby kortschak » Fri Dec 27, 2019 7:06 am

What is the current planning for progressing the changes that have been submitted to LLVM project? The changes appear to have stalled with a number of requests for changes that have gone un-done.

ESP_AndreiS
Posts: 2
Joined: Wed Feb 13, 2019 10:02 am

Re: Status of LLVM support?

Postby ESP_AndreiS » Mon Feb 10, 2020 1:08 am

Hi kortschak, we updated current patches (1-10), which are in LLVM review, according to changes in upstream version and reviewers requests for changes. Also we ported Xtensa backend to release 9.0.1 https://github.com/espressif/llvm-project

kortschak
Posts: 5
Joined: Mon Feb 11, 2019 2:25 am

Re: Status of LLVM support?

Postby kortschak » Sun Apr 19, 2020 1:18 am

Thanks.

Who is online

Users browsing this forum: No registered users and 276 guests