[LLVMdev] Making a pass available to llc?

Michael McCracken michael.mccracken at gmail.com
Mon Jul 25 19:07:25 PDT 2005


Hi - I wanted to make a pass available for use with llc, and found
that even though there is a PassInfo::LLC value, it isn't currently
used.

If you compare analyze.cpp and opt.cpp to llc.cpp, the first two find
appropriate pass names with a FilteredPassNameParser and create them,
but llc does not - it just gets all the passes it wants through the
TargetMachine.

Is there a particular reason not to create general Passes from llc?

Thanks,
mike

-- 
Michael McCracken
UCSD CSE PhD Candidate
research: http://www.cse.ucsd.edu/~mmccrack/
misc: http://michael-mccracken.net/blog/




More information about the llvm-dev mailing list