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

           Summary: Invalid register assignment due to regclass copy
                    coalesced away
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=3502)
 --> (http://llvm.org/bugs/attachment.cgi?id=3502)
.ll file

Consider the bytecode attached. Currently it fails due to invalid subreg index
(there is on 32-bit subreg of Q8 reG) despite of explicit copy_to_regclass
node.

It seems the cross-regclass copy is removed during 2addr instruction pass:

        %reg1063<def> = INSERT_SUBREG %reg1061, %reg1062, 4
        prepend:        %reg1063<def> = VMOVQ %reg1061
        rewrite to:     %reg1063<def> = INSERT_SUBREG %reg1063, %reg1062, 4


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to