[LLVMdev] Passes dependencies?

Renato Golin rengolin at systemcall.org
Sun Nov 15 16:12:08 PST 2009


2009/11/15 Eli Friedman <eli.friedman at gmail.com>:
> Any arbitrary set of pass arguments should work; strong dependencies,
> are added automatically by the pass manager.

That answers my question, thanks!

Maybe some warnings (if enabled) to make sure not only the strong
dependencies are met, but all of them.


> Nothing will warn you if you do something silly like run -instcombine
> twice in a row, though.

I'd suspect that running N times the same pass won't change the code a
single bit more than running once.

cheers,
--renato

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list