[LLVMbugs] [Bug 2480] New: improve assembler syntax for nameless values

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jun 21 13:12:00 PDT 2008


           Summary: improve assembler syntax for nameless values
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

The assembler is hard to read when values have no names.  Here's what it
looks like currently:

        call i8* @f( i32 0 )            ; <i8*>:0 [#uses=1]
        call void @g( i8* %0 )

How about changing it to this:

        %0 = call i8* @f( i32 0 )            ; <i8*> [#uses=1]
        call void @g( i8* %0 )


So in the assembler %0 would act like a name for the purpose
of assembling, but internally no name would be assigned to the
value (so the value might be written out to assembler later as
%1 or some other number).

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