[PATCH] docs: Clarify how basic blocks without named label are handled.

Paul Sokolovsky pmiscml at gmail.com
Mon May 27 13:17:31 PDT 2013


Hello,

On Mon, 20 May 2013 17:39:57 -0600
Sean Silva <silvas at purdue.edu> wrote:

[]
> > > > > Describe that basic blocks without named labels are assigned
> > > > > numbered label using the same counter as for unnamed
> > > > > temporaries.
> > > > >
> > > > > Based on http://llvm.org/bugs/show_bug.cgi?id=16043 and
> > > > > llvm-dev discussion.
[]
> 
> Landed in r182332.

Thanks!

> While the behavior itself is no less confusing now, it is at least
> documented, so you can probably close that bug report. If you want to
> pursue changing how we print the iR, then that probably will deserve
> its own bug report (and more discussion (probably on the mailing
> list) about how to go about it).

My plan for further steps would be: 2) update also FAQ with 
practical hints on how to deal with unnamed entities, as
suggested by Duncan Sands in the bug, and then 3) look into (as
compatible as possible) code changes to render labels explicitly (and
I understand there would be more discussion of that). That all may take
me some time, and I'd appreciate if bug can be left open, as it already
captures some references and discussion, to not lose track of them.

> 
> -- Sean Silva



-- 
Best regards,
 Paul                          mailto:pmiscml at gmail.com



More information about the llvm-commits mailing list