[PATCH] D97816: [clang] Note that -debug-pass only works with legacy PM when using new PM

Yuanfang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 2 18:08:38 PST 2021


ychen added a comment.

Sorry, I forgot that codegen is still legacy PM, so `-debug-pass=Structure` does give the correct output. Then users need to specify both -debug-pass-manager and `-debug-pass=x` to get the pass information. Hmm, not a big deal but seems hassles. Maybe we should bridge  `-debug-pass=Structure` to `-debug-pass-manager` ? Or actually, this could be a feature where users can specify either pipeline they want the pass information for. WDYT?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97816/new/

https://reviews.llvm.org/D97816



More information about the cfe-commits mailing list