Skip to content

instrs with multiple frame indices don't get them all rewritten #1680

@llvmbot

Description

@llvmbot
Bugzilla Link 1308
Resolution FIXED
Resolved on Feb 22, 2010 12:51
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor

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

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadllvm:codegen

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions