instrs with multiple frame indices don't get them all rewritten #1680
Labels
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
llvm:codegen
Extended Description
$ 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
The text was updated successfully, but these errors were encountered: