[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code

Daniel M Gessel gessel at apple.com
Mon Apr 13 11:20:27 PDT 2009


For nefarious reasons I won't go into (this is for a quick hack that  
will be thrown away in a week or two), I'd like my Asm printer to get  
MBBs in a depth first order.

Is there an existing pass or function that will let me do this easily?

Thanks,

Dan




More information about the llvm-dev mailing list