[LLVMdev] Passes dependencies?

Renato Golin rengolin at systemcall.org
Sun Nov 15 13:20:59 PST 2009


I was reading this page:
http://llvm.org/docs/Passes.html

and there seems to be lots of passes that depend on others to produce
consistent non-redundant code.

For instance, the DIE must run after Simple constant propagation,
Loop-Closed SSA Form Pass is mostly (only) useful for other passes,
such as LoopUnswitching, and a few passes that leave a good mess,
requiring other passes to run afterwards to clean up.

Is there any map of dependencies/recommendations for the passes? Does
clang/opt cares if the user tries to use one without the other
(warning)?

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