[LLVMdev] Does mips backend support variable arguments in release version(llvm-2.6)?

Heyu Zhu zhu.heyu at gmail.com
Tue Feb 2 21:57:50 PST 2010

Hi everyone,

It seems variable arguments is not support by mips backend in llvm-2.6.

int func(int i, ...) {
  return 0;

 llvm-gcc    func.c -emit-llvm -c  -O3   -o func.bc
llc    func.bc -relocation-model=static  -march=mips -O0  -o func.s

Command llc fails:
llvm::BasicBlock):Assertion 'Invals.size() == Ins.size &&
didn't emit the correct number of values!"' failed

Does the latest mips backend in svn trunk support variable arguments?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100203/875d5e4a/attachment.html>

More information about the llvm-dev mailing list