-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] insteadllvm:codegen
Description
| 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 bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] insteadllvm:codegen