[llvm-dev] Adding utility/debugging passes upstream

Anna Thomas via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 30 12:37:11 PDT 2016


I was wondering what’s the community guideline for adding new passes which are solely used for debugging/analysis purposes? Can this be in the upstream llvm, or such passes are more suitable in local downstream repository?

In our case, the ‘utility (ease-of-analysis)’ pass is for transformation done by RewriteStatepointsForGC (RS4GC). Note that right now, RS4GC is not enabled in the opt pipeline upstream, but the utility pass would be for downstream users who have RS4GC enabled in their opt pipeline. 


More information about the llvm-dev mailing list