[LLVMdev] Depth First Sort of Machine Basic Blocks just beforeemitting code
Villmow, Micah
Micah.Villmow at amd.com
Mon Apr 13 11:32:47 PDT 2009
Dan,
I was not able to find a simple way to do this outside of writing my
own DFS traversal using the succ nodes.
Micah
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Daniel M Gessel
Sent: Monday, April 13, 2009 11:20 AM
To: LLVM Developers Mailing List
Subject: [LLVMdev] Depth First Sort of Machine Basic Blocks just
beforeemitting code
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
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list