Emscripten and LLVM 3.5

154 views
Skip to first unread message

Anton Smirnov

unread,
Sep 10, 2014, 9:44:54 AM9/10/14
to emscripte...@googlegroups.com

Emscripten/Fastcomp was said to work only with LLVM fork:

http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html

Since LLVM 3.5 was released few days ago are required changes merged to LLVM main branch?

Can i avoid using Fastcomp LLVM/Clang forks now?

Bruce Mitchener

unread,
Sep 10, 2014, 10:04:39 AM9/10/14
to emscripte...@googlegroups.com
No, emscripten is still using the fastcomp fork.

I have no idea what Alon's plan is for merging to the LLVM main branch.

 - Bruce

Anton Smirnov

unread,
Sep 10, 2014, 2:54:16 PM9/10/14
to emscripte...@googlegroups.com
That's clear.
Is forked LLVM/Clang back-compatible to LLVM (i'm using LLVM/Clang via libclang in my app and i'd like to use both original llvm/clang or superset of original and fastcomp fork)?

среда, 10 сентября 2014 г., 20:04:39 UTC+6 пользователь Bruce Mitchener написал:

Alon Zakai

unread,
Sep 10, 2014, 11:00:28 PM9/10/14
to emscripte...@googlegroups.com
sunfish plans to rebase us on upstream LLVM, just depends on when he gets around to it.

- Alon


--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anton Smirnov

unread,
Sep 11, 2014, 5:07:39 AM9/11/14
to emscripte...@googlegroups.com
I've pulled the latest emscripten changes from repo and i'm still getting warning that i'm having llvm/clang "3.4" instead of expected "3.3" release (no fastcomp used). Do i miss smth? Are upstream llvm/clang changes merged to emscripten llvm/clang fork repos?

Alon Zakai

unread,
Sep 11, 2014, 12:31:39 PM9/11/14
to emscripte...@googlegroups.com
No, we are still at 3.3 (actually somewhere between 3.3. and 3.4). As mentioned in another comment, we should eventually rebase on latest svn, but not sure when - depends when people find time.

Anton Smirnov

unread,
Oct 7, 2014, 5:59:32 AM10/7/14
to emscripte...@googlegroups.com
Any ETA on this request? I can do it myself if having some description on how to do it.
https://github.com/kripken/emscripten-fastcomp/issues/51

четверг, 11 сентября 2014 г., 22:31:39 UTC+6 пользователь Alon Zakai написал:
No, we are still at 3.3 (actually somewhere between 3.3. and 3.4). As mentioned in another comment, we should eventually rebase on latest svn, but not sure when - depends when people find time.

On Thu, Sep 11, 2014 at 2:07 AM, Anton Smirnov <d...@antonsmirnov.name> wrote:
I've pulled the latest emscripten changes from repo and i'm still getting warning that i'm having llvm/clang "3.4" instead of expected "3.3" release (no fastcomp used). Do i miss smth? Are upstream llvm/clang changes merged to emscripten llvm/clang fork repos?
2014-09-11 9:00 GMT+06:00 Alon Zakai <alon...@gmail.com>:
sunfish plans to rebase us on upstream LLVM, just depends on when he gets around to it.

- Alon

On Wed, Sep 10, 2014 at 7:04 AM, Bruce Mitchener <bruce.m...@gmail.com> wrote:
On Wed, Sep 10, 2014 at 8:44 PM, Anton Smirnov <d...@antonsmirnov.name> wrote:

Emscripten/Fastcomp was said to work only with LLVM fork:

http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html

Since LLVM 3.5 was released few days ago are required changes merged to LLVM main branch?

Can i avoid using Fastcomp LLVM/Clang forks now?


No, emscripten is still using the fastcomp fork.

I have no idea what Alon's plan is for merging to the LLVM main branch.

 - Bruce

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.

Alon Zakai

unread,
Oct 7, 2014, 5:45:39 PM10/7/14
to emscripte...@googlegroups.com
sunfish hopes to find time to do it, but SIMD is turning out to be a bigger project than expected. So it might not happen any time soon.

It would be great if you or someone else found the time for this. Basically, it would be to take the new emscripten code in fastcomp - mostly just some files in lib/Target/JSBackend - and port them to newer LLVM svn (I hear some APIs changed a little). Also, it uses some passes in lib/Transform/NaCl, which may have already been ported by the NaCl project, not sure. Can move those into /JSBackend if that is simpler. Then, get that building and passing the emscripten test suite.

- Alon


To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.

Dan Gohman

unread,
Oct 7, 2014, 6:05:35 PM10/7/14
to emscripte...@googlegroups.com
I'm also happy to help out anyone who wants to work on this. If you want more information about how to get started, or if you have any questions at any point, don't hesitate to ask.

Dan
> >>>>>> Emscripten <https://github.com/kripken/emscripten>/Fastcomp was said
> >>>>>> to work only with LLVM fork:
> >>>>>>
> >>>>>> http://kripken.github.io/emscripten-site/docs/building_
> >>>>>> from_source/LLVM-Backend.html
> >>>>>>
> >>>>>> Since LLVM 3.5 was released few days ago are required changes merged
> >>>>>> to LLVM main branch?
> >>>>>>
> >>>>>> Can i avoid using Fastcomp LLVM/Clang forks now?
> >>>>>>
> >>>>>
> >>>>> No, emscripten is still using the fastcomp fork.
> >>>>>
> >>>>> I have no idea what Alon's plan is for merging to the LLVM main branch.
> >>>>>
> >>>>> - Bruce
> >>>>>
> >>>>> --
> >>>>> You received this message because you are subscribed to the Google
> >>>>> Groups "emscripten-discuss" group.
> >>>>> To unsubscribe from this group and stop receiving emails from it, send
Reply all
Reply to author
Forward
0 new messages