This is an archive of the discontinued LLVM Phabricator instance.

IR printing for single function with the new pass manager
AbandonedPublic

Authored by hoyFB on Feb 19 2020, 10:55 AM.

Details

Reviewers
None
Summary

The IR printing always prints out all functions in a module with the new pass manager, even with -filter-print-funcs specified. This is being fixed in this change. However, there are two exceptions, i.e, with user-specified wildcast switch -filter-print-funcs=* or -print-module-scope, under which IR of all functions should be printed.

Test Plan:
make check-clang
make check-llvm

Event Timeline

hoyFB created this revision.Feb 19 2020, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2020, 10:55 AM
hoyFB abandoned this revision.Feb 19 2020, 10:57 AM