[LLVMdev] Global register variables/custom calling conventions

Anton Korobeynikov anton at korobeynikov.info
Mon Sep 21 06:31:20 PDT 2009


Hello

> Again, from what I understand, llvm-qemu worked by emitting LLVM IR from
> QEMU IR API calls. This project goes straight from ARM to LLVM IR, bypassing
> QEMU's IR, (partially) in the hope that more information about the original
> intent of the code is retained.
Ok, what's left from QEMU then? :)

> generating reasonable code - this approach keeps it in place while we do
> extra, possibly more expensive work out of sight. It might not be a pretty
> idea, but LLVM does generate some very tight code :) It's an experiment -
> humour me...
Well, but I still don't get the reason why you need to pin (some)
internal QEMU state variables to fixed registers?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list