Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opt][NewPM] Add isRequired to passes named as *PrinterPass #76516

Merged
merged 1 commit into from
Jan 3, 2024

Commits on Dec 28, 2023

  1. [opt][NewPM] Add isRequired to passes named as *PrinterPass

    Passes that print the result of analysis passes etc is often
    interesting and expected to run even if a function for example
    is marked as optnone. So when adding such passes explicitly to a
    pipeline it makes sense to run the pass regardless of standard
    instrumentation gates such as OptNoneInstrumentation.
    
    In this patch I add mark all passes named as *PrinterPass
    as being required. That should make sure that the passes are
    executed without being skipped due to standard instrumentations.
    
    The polly passes are not touched in this patch.
    bjope committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    bfd27c3 View commit details
    Browse the repository at this point in the history