[LLVMdev] Problem about "llc -march=msil"

Anton Korobeynikov asl at math.spbu.ru
Tue May 6 09:14:10 PDT 2008


Hello

> What does these mean? 
The bytecode contains call to intrinsic, which is not supported by by
MSIL backend. The only intrinsics currently supported 'natively' are
vastart, vaend, vacopy. 

You might want to extend MSILWriter to use default intrinsic lowering
mechanism, however, don't expect, that you'll have something workable -
in general, you cannot just grab .c file, translate it with llvm-gcc
to .bc and use MSIL writer - you will still need implementations of
bunch of stuff, which are in gcc runtime (e.g. gcc builtins and many
other things).

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list