[LLVMbugs] [Bug 1779] New: Assertion `!OpInfo.AssignedRegs.Regs.empty() && "Couldn' t allocate input reg!"' failed
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Nov 6 13:17:40 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1779
Summary: Assertion `!OpInfo.AssignedRegs.Regs.empty() &&
"Couldn't allocate input reg!"' failed
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1201)
--> (http://llvm.org/bugs/attachment.cgi?id=1201)
testcase
On a 32-bit machine (!important, the inline assembly is for 32-bit):
$ llvm-gcc testcase-min.i
cc1: SelectionDAGISel.cpp:3732: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!"' failed.
testcase-min.i:47: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
$ llc bugpoint-reduced-simplified.bc
llc: SelectionDAGISel.cpp:3726: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!"' failed.
llc[0x86e7f7c]
/lib/i686/cmov/libc.so.6(abort+0x101)[0xb7ce2181]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb7cd9b6e]
llc(llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&)+0x2217)[0x84566e7]
Note: the testcase contains the __builtin_choose_expr suggested by Chris
Lattner (thanks!). This bug has nothing to do with that, if you remove it, the
bug is still there.
I left it there though, because it illustrates the operand sizes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list