[llvm-commits] [PATCH] add StandardPasses.h

Dan Gohman gohman at apple.com
Mon Jun 9 15:30:18 PDT 2008

On Jun 7, 2008, at 3:50 PM, Evan Phoenix wrote:

> I've refactored opt's AddStandardPasses function into a header so  
> that others can easily use it as well. I didn't replace opt's  
> version though, since it still contains the ability to run the  
> verifier after each pass as well.

This is nice, however it turns out that we have a fair amount of
trouble keeping the optimization lists in opt, llvm-gcc and
llvm-ld all current when things change. Could you see if there's
a way to make AddStandardPasses able to run the verifier, so that
it can be used by opt?



More information about the llvm-commits mailing list