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

Fix several asm! related issues #94169

Merged
merged 5 commits into from
Feb 22, 2022
Merged

Fix several asm! related issues #94169

merged 5 commits into from
Feb 22, 2022

Commits on Feb 21, 2022

  1. Simplify gating of BPF w registers behind the alu32 target feature

    This is already handled by supported_types().
    Amanieu committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    2e8a766 View commit details
    Browse the repository at this point in the history
  2. On ARM, use relocation_model to detect whether r9 should be reserved

    The previous approach of checking for the reserve-r9 target feature
    didn't actually work because LLVM only sets this feature very late when
    initializing the per-function subtarget.
    Amanieu committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    1ceb104 View commit details
    Browse the repository at this point in the history
  3. Take CodegenFnAttrs into account when validating asm! register operands

    Checking of asm! register operands now properly takes function
    attributes such as #[target_feature] and #[instruction_set] into
    account.
    Amanieu committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    fc41d4b View commit details
    Browse the repository at this point in the history
  4. Add tests

    Amanieu committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    fb5539b View commit details
    Browse the repository at this point in the history
  5. Add ignore-tidy-filelength

    Amanieu committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    a60b791 View commit details
    Browse the repository at this point in the history