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

           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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

Reply via email to