[llvm-dev] why debugify passes reside in tools/opt?

Fedor Sergeev via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 21 02:21:25 PST 2018


Hi Vedant (and all),

is there a particular reason why Debugify passes - whether legacy or newpm -
are not handled like "normal" passes?
They reside in tools/opt and are not registered through standard 
registration
mechanisms.

There is a verifier pass that is rather similar to debugify, but it 
resides in IR and
gets registered "normally".

Its mostly curiosity on my side rather than a pressing need, but current 
scheme
makes it impossible to use these passes in anything other than opt.

regards,
   Fedor.




More information about the llvm-dev mailing list