gerekon wrote:

Hi guys,

Thanks for you comments.

> I am a little concerned that progress on the upstreaming is moving 
> excessively slowly. what exactly has been happening?

> That said, if there are signs that the target is only sporadically 
> maintained, reaffirming that's not the case would be a good thing, so I think 
> Eli's question is still a good one to get an answer for.

We are maintaining our own [fork of LLVM with Xtensa 
support](https://github.com/espressif/llvm-project) for several years and 
release Clang-based toolchain at least for every major LLVM release.
I agree that our past upstreaming activity looks like sporadic. There are 
several reasons for this:
1) At the very first step it was difficult to find people who could review 
Xtensa arch related part without architecture specification in public. We had 
to prepare our [own version of Xtensa 
specification](https://github.com/espressif/xtensa-isa-doc) basing on the GCC 
and binutils source code available in public. And finally we have planted the 
first base patch set.
2) Lack of enough resources to cover our own internal development needs and 
keep upstreaming process at a good pace.

Now after extending our LLVM team and some sort of "pushing" from our Rust team 
and Swift community we have special assignment in the team for upstreaming 
process. This year we have submitted 13 patches (not including this one):
- [x]  https://github.com/llvm/llvm-project/pull/78548
- [x]  https://github.com/llvm/llvm-project/pull/83280
- [x]  https://github.com/llvm/llvm-project/pull/92960
- [x]  https://github.com/llvm/llvm-project/pull/95256
- [x]  https://github.com/llvm/llvm-project/pull/97017
- [x]  https://github.com/llvm/llvm-project/pull/99981
- [x]  https://github.com/llvm/llvm-project/pull/106053
- [x] https://github.com/llvm/llvm-project/pull/107363
- [x] https://github.com/llvm/llvm-project/pull/108986
- [x] https://github.com/llvm/llvm-project/pull/110292
- [x] https://github.com/llvm/llvm-project/pull/110959
- [x] https://github.com/llvm/llvm-project/pull/113450
- [ ] https://github.com/llvm/llvm-project/pull/117126

We have a 
[plan](https://github.com/espressif/llvm-project/issues/4#issuecomment-2343204459)
 for our upstreaming activity and from this point we can do some patch work in 
parallel. The main upstreaming activity is done by @andreisfr. I created this 
PR and plan to create others especially ones related to Xtensa baremetal 
toolchain support.

So keeping in mind our Rust team (https://github.com/esp-rs/rust/issues/89) and 
Swift community 
(https://forums.swift.org/t/is-there-support-for-xtensa-lx7-cores/72458) 
demands and HIFI3 related contribution from @maciej-czekaj it looks like there 
people exist who are interested in having Xtensa support in LLVM. And we are 
going to maintain it.

https://github.com/llvm/llvm-project/pull/118008
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to