[LLVMdev] Why some registered passes are not available through opt?

Duncan Sands baldrick at free.fr
Thu Jun 28 23:24:08 PDT 2012


Hi Dima,

> I'm trying to understand why opt tool does not know some of the
> registered passes, for example, -targetpassconfig, -gc-lowering,
> -unreachableblockelim, -unreachableblockelim, -stack-protector,
> -machinemoduleinfo. This prevents me from using bugpoint to reduce the
> crash in backend. As I understand, they should be registered and
> available through the command line in the same way as all other
> passes, shouldn't they?

these are codegen passes not IR passes, and thus are available from llc
not opt.

Ciao, Duncan.



More information about the llvm-dev mailing list