[PATCH] D133055: [MachineFunctionPass] Support -filter-passes for -print-changed
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 15:39:31 PDT 2022
MaskRay added a comment.
In D133055#3762484 <https://reviews.llvm.org/D133055#3762484>, @rahmanl wrote:
> Thanks for implementing this. Why should there be a discrepancy in how passes are named with this option vs. the IR mode option? Wouldn't that make it hard for the user invoking clang with `-mllvm`?
The lower-case dash-separated passs id is desired, as implemented in this patch. This matches `-print-after=`, `-stop-after=`, etc.
-filter-passes=CamelCasePass is a workaround for new PM passes before there is a better way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133055/new/
https://reviews.llvm.org/D133055
More information about the llvm-commits
mailing list