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

[LLVM] Factor disabled Libcalls into the initializer #98421

Merged
merged 1 commit into from
Jul 11, 2024

Commits on Jul 11, 2024

  1. [LLVM] Factor disabled Libcalls into the initializer

    Summary:
    These Libcalls represent which functions are available to the backend.
    If a runtime call is not available, the target sets the the name to
    nullptr. Currently, this logic is spread around the various targets.
    This patch pulls all of the locations that disable libcalls into the
    intializer. This patch is effectively NFC.
    
    The motivation behind this patch is that currently the LTO handling uses
    the list of all runtime calls to determine which functions cannot be
    internalized and must be extracted from static libraries. We do not want
    this to happen for libcalls that are not emitted by the backend. A
    follow-up patch will move out this logic so the LTO pass can know which
    rtlib calls are actually used by the backend.
    jhuber6 committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1615583 View commit details
    Browse the repository at this point in the history