[LLVMdev] Manipulating basic blocks with the C bindings

Evan Shaw chickencha at gmail.com
Fri May 28 06:09:41 PDT 2010


On Fri, May 28, 2010 at 7:39 AM, Kenneth Uildriks <kennethuil at gmail.com> wrote:
> If you keep in mind that blocks (other than the entry) aren't really
> ordered by anything other than branches, I can't see anything
> unintuitive about it.
>

It's true that the ordering doesn't matter to the computer, but it's
definitely easier for me to read the IR if its structure is similar to
the original source's structure.

I may just put together a patch and see what happens since it
shouldn't be very much work.

- Evan



More information about the llvm-dev mailing list