Page 1 of 1

Status of LLVM support?

Posted: Thu Jul 11, 2019 3:49 am
by yasapir
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

Re: Status of LLVM support?

Posted: Wed Jul 17, 2019 6:59 am
by ESP_igrr

Re: Status of LLVM support?

Posted: Fri Jul 19, 2019 12:52 pm
by yasapir
Thanks!

Re: Status of LLVM support?

Posted: Mon Aug 26, 2019 2:07 pm
by ESP_mabez
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.

Re: Status of LLVM support?

Posted: Fri Dec 27, 2019 7:06 am
by kortschak
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.

Re: Status of LLVM support?

Posted: Mon Feb 10, 2020 1:08 am
by ESP_AndreiS
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

Re: Status of LLVM support?

Posted: Sun Apr 19, 2020 1:18 am
by kortschak
Thanks.