On Sunday 22 March 2015 16:02:57 Ivanko B wrote:
> MSElang-llvm seems to ask LLVM to precalculate the result ($15 in the
> example) then just puts it to the output. So now we have smth like
> C[++] double pass compiling, correct ?
>
MSElang produces a llvm bitcode file in a single pass. This file is fed 
to "llc -O3" which produces the showed assembler file. It seems "llc -O3" 
does a loop unroll and resolves the constant expressions which can be 
simplified into a single assignment. Impressive.

Martin

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to