[LLVMbugs] [Bug 412] NEW: Enhance skeleton target to actually generate code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 2 01:18:06 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=412

           Summary: Enhance skeleton target to actually generate code
           Product: libraries
           Version: 1.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


It would be really cool if the skeleton target was enhanced to actually produce
(toy) code instead of always asserting when run.  Even if it were for something
as trivial as:

int test(int X) { return X+1; }

it would be nice to compile it into something like:

test:
   %R1 = 1
   %R0 = add %R0, %R1
   ret

At least it would give end-to-end examples of how to define simple instructions,
calling conventions, etc.

The skeleton target should really codify the current "best practices" in the
code generator, and would be much more useful if it covered a broad range of the
things needed by a target, even in trivial ways.

-Chris



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