$ cat|llvm-as|llc >/dev/null define void @stuff(i32, ...) { %foo = alloca i8* %bar = alloca i32* %tmp10.i.i57 = call i32 asm sideeffect "movl $4,%edi", "={ax},0,i,m,m"( i32 0, i32 120, i8** %foo, i32** %bar ) ret void } ^D llc: /usr/local/code/llvm/llvm/include/llvm/CodeGen/MachineInstr.h:233: unsigned int llvm::MachineOperand::getReg() const: Assertion `isRegister() && "This is not a register operand!"' failed. llc((anonymous namespace)::PrintStackTrace()+0x19)[0x861ee09] Aborted
Also, if I run this in bugpoint I get a crash: Read input file : 'foo.bc' *** All input ok Found gcc: /usr/bin/gcc Initializing execution environment: Running the code generator to test for a crash: <llc>terminate called after throwing an instance of 'llvm::ToolExecutionError' bugpoint((anonymous namespace)::PrintStackTrace()+0x19)[0x83b6949] Aborted
Fixed, testcase here: CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll Patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070402/047034.html Thanks! -Chris