[LLVMbugs] [Bug 830] NEW: more unsupported inline asm constraints in X86 backend

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jul 12 16:20:22 PDT 2006


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

           Summary: more unsupported inline asm constraints in X86 backend
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jackrobi at gmail.com


This time I think I collected all the constraints used by the program I'm trying
to compile. Thanks for fixing these bugs so far!

$ cat | llvm-as | llc
target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
implementation
internal void %foo(){
        %tmp = call int asm sideeffect "push %ebp",
"={ax},a,b,c,d,S,D,ri,ir,~{dirflag},~{fpsr},~{flags},~{memory}"( int 0, int 0,
int 0, int 0, int 0, int 0, int 0, int 0 )
ret void
}
llc: SelectionDAGISel.cpp:2019: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`Constraints[i].Codes.size() == 1 && "Only handles one code so far!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x878946f]
/lib/tls/i686/cmov/libc.so.6(abort+0x1dc)[0xb7dc27d8]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x109)[0xb7dbad5d]
llc(llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&)+0x57e)[0x855907e]
Aborted



------- 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