[LLVMdev] Data structures and algorithms in IL

Jon Harrop jon at ffconsultancy.com
Tue Dec 30 14:48:30 PST 2008


On Tuesday 30 December 2008 21:13:51 Eli Friedman wrote:
> On Tue, Dec 30, 2008 at 11:05 AM, Jon Harrop <jon at ffconsultancy.com> wrote:
> > Has anyone begun collating data structures and algorithms written in
> > LLVM's IL? I am just considering how to implement my first GC and it
> > would help enormously if I could just pull in a concurrent queue written
> > in IL, for example.
>
> Unless I'm misunderstanding the question, why not just take a version
> written in C and compile it with llvm-gcc?

I was under the impression that LLVM's memory model was preferable for that 
task, e.g. fences vs volatile.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list