[LLVMbugs] [Bug 921] NEW: Assertion fails in SelectionDAGIsel.cpp

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 22 14:01:15 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=921

           Summary: Assertion fails in SelectionDAGIsel.cpp
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru


When compiling simple .c file with llvm-gcc & enabled optimizations I have the
folowing assertion:

llc: /home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:2137:
void llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`!Regs.Regs.empty() && "Couldn't allocate output reg!"' failed.

Please find attached files:

1. Source .c file
2. Compiled .bc file via "llvm-gcc -O1", everything is ok with optimizations
disabled.

Steps to reproduce:
1. Run llc -march=x86 round.bc



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list