[LLVMdev] Adding an object to llc (analysis pass)

Chris Lattner sabre at nondot.org
Wed May 31 12:55:07 PDT 2006


On Wed, 31 May 2006, Silken Tiger wrote:
>> that requires a BasicBlockPass, it will fail the same was as when a
>> ModulePass requires a FunctionPass.
> void MParSchedule::getAnalysisUsage(AnalysisUsage &AU) const {
>        AU.setPreservesAll();
> }
>
> MParSchedule requires nothing and changes nothing. So hopefully the above code
> represents this fact?

Right it does.  However, does something *else* require MParSchedule?  If 
so, what?

-Chris

> I also did an make clean && make in my llvm root directory to check if this is
> a build system problem. Which it is not.
>
> For easier reference i just attached the files of this pass to this mail. They
> are under GPL.
>
> Best Regards
> ST
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list