[LLVMbugs] [Bug 2117] New: Codegen constraint improvements

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Mar 1 07:22:51 PST 2008


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

           Summary: Codegen constraint improvements
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


Since a number of operations produce results in certain registers or take input
in certain registers, it would be very nice to be able to say:

let Constraints = "$dst = %eax, $val = %ecx" in
let Constraints = "$dst = %eax:%edx" in

etc

and have the selection dag insert the to and from reg nodes automatically. 
This seems like it would cut down on a lot of custom lowering (dag op lowered
to copyto, op, copyfrom).


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