[LLVMdev] how to access loopInfo

Jochen Wilhelmy j.wilhelmy at arcor.de
Thu Mar 11 13:24:52 PST 2010


Hi!
> I'm not sure what you mean by this new pass being of no use to other passes.
> It's not generating any new information about the program (or if it is, it's 
> writing it to disk), so other passes wouldn't need it anyway.
>   
So I know that I'm on the right way. I just think it's a bit of overhead 
implementing an own pass
and register it using llvm::RegisterPass
can the PassArg of RegisterPass clash with other passes? or can I just do
static RegisterPass<MyPass> tmp("foo", "My Pass");
?

-Jochen



More information about the llvm-dev mailing list