[LLVMdev] Problem getting LoopInfo inside non-LoopPass

Devang Patel dpatel at apple.com
Thu Nov 10 10:37:53 PST 2011


Ryan,

[ Please continue the discussion on mailing for the benefit of everyone. ]

On Nov 10, 2011, at 10:31 AM, Ryan Taylor wrote:

> I need to iterate bottom up on the nodes, but within that I want to break up BBs within a loop. I could just create a loop pass as another opt and call that, I just thought it'd be easier to get the loop info inside the opt I'm already doing.

It is better and easier to write a separate pass.
-
Devang





More information about the llvm-dev mailing list