[LLVMdev] Turning Off Backend Passes

David Greene dag at cray.com
Tue Sep 1 12:36:45 PDT 2009


On Tuesday 01 September 2009 14:27, Evan Cheng wrote:

> If you have a custom compiler, why not have llvm-gcc (or whatever
> frontend you use) create its own pass manager? That way, it can
> control the exactly what passes it wants.

Because addPasses* do a lot of useful stuff.  There's already a "Fast"
flag but it's overloaded.  What if we replaced it with a bitvector of
flags?

                                -Dave



More information about the llvm-dev mailing list