[LLVMdev] Help with pass registration

Fernando Magno Quintao Pereira fernando at CS.UCLA.EDU
Sat Sep 9 12:30:55 PDT 2006

> >    I have updated my LLVM to the top of CVS, and now I am getting
> > errors like this one below when I write new passes:
> What does your getAnalysisUsage method look like?


    I think I've figured the problem out. I have a very basic question
though. What is the difference between addRequired, and addRequiredID?
For instance, in RegAllocLocal.cpp, you have both:


    When should I use one, and when the other should be used?

Thanks a lot,


More information about the llvm-dev mailing list