[LLVMbugs] [Bug 9602] New: couldn't allocate input reg for constraint 'q'!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 31 17:22:32 PDT 2011


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

           Summary: couldn't allocate input reg for constraint 'q'!
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


This testcase fails to compile:

target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"

define void @test() {
entry:
  %0 = call i8 asm sideeffect "inst1 $3, $4; inst2 $2, $1; inst3 $0",
"={ax},=*rm,{ax},q,*m,~{memory},~{cc},~{dirflag},~{fpsr},~{flags}"(float*
undef, float 0.000000e+00, float 2.000000e+00, i32* undef) nounwind
  unreachable
}

with a polite fatal error from llc:

$ llvm/Debug+Asserts/bin/llc b.ll
LLVM ERROR: Couldn't allocate input reg for constraint 'q'!

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