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

Emit LLVM optimization remarks when enabled with -Cremark #90833

Merged
merged 3 commits into from
Nov 29, 2021

Commits on Nov 16, 2021

  1. Configuration menu
    Copy the full SHA
    b16ac4c View commit details
    Browse the repository at this point in the history
  2. Emit LLVM optimization remarks when enabled with -Cremark

    The default diagnostic handler considers all remarks to be disabled by
    default unless configured otherwise through LLVM internal flags:
    `-pass-remarks`, `-pass-remarks-missed`, and `-pass-remarks-analysis`.
    This behaviour makes `-Cremark` ineffective on its own.
    
    Fix this by configuring a custom diagnostic handler that enables
    optimization remarks based on the value of `-Cremark` option. With
    `-Cremark=all` enabling all remarks.
    tmiasko committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    6846674 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8fa4529 View commit details
    Browse the repository at this point in the history