Yes, that should work, unless it happens to use a feature of LLVM IR that
is not supported. The backend should support almost anything that clang
will emit into LLVM IR, minus things like threads.

- Alon



On Tue, Mar 11, 2014 at 8:50 AM, Stéphane Letz <[email protected]> wrote:

> I've recently read the thread on LLVM list about Emscripten fastcomp
> backend and I am very interested by it.
>
> We are working here on a DSL language for DSP audio processing called
> Faust (see : http://faust.grame.fr). The Faust compiler currently allows
> to generate different target languages like C/C++, LLVM IR, Java or
> JavaScript.
>
> We did some test connecting the Faust ==> JavaScript chain in the contexts
> of the WebAudio API  (see :
> http://faust.grame.fr/index.php/component/content/article/7-news/73-faust-web-art),
> so that we can use Faust to automatically generate fully working JavaScript
> nodes for the WebAudio API. Obviously the speed is not so great, so we are
> very interest with the asm.js model.
>
> Since we also already have a Faust DSP ==> LLVM IR backend, I was
> wondering if the Emscripten fast comp backend would allow the following
> chain:
>
> Faust DSP ==> LLVM IR  (... some IR==> IR optimisation passes...)
> ==> Emscripten fast comp ==> asm.js
>
> Would this work?
>
> Thanks.
>
> Stéphane Letz
>
>  --
> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to