[LLVMdev] llc fails to generate code for arm

Arvind Ayyangar arvind.ayyangar at gmail.com
Mon Jan 28 00:39:08 PST 2008

Hi all,
     I had little success installing llvm inside scratchbox for an ARM
build so have been trying to generate assembly code for arm using the
llc utility. However, llc fails to generate code for arm. Output is as

arvind at zeus:~/tools/llvm/del$ llc main.bc -o mainarm -filetype=asm
-march=arm  -f
llc: ARMISelDAGToDAG.cpp:73: llvm::SDOperand
LowerCALL(llvm::SDOperand, llvm::SelectionDAG&): Assertion `isVarArg
== false && "VarArg not supported"' failed.
Aborted (core dumped)
arvind at zeus:~/tools/llvm/del$

However, i manage to generate code for other architectures like sparc,
ppc, etc.. Is any additional setup required ?

Thanks in advance


More information about the llvm-dev mailing list