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

Sync rustc_codegen_cranelift #82808

Merged
merged 61 commits into from
Mar 7, 2021
Merged

Commits on Jan 29, 2021

  1. Indicate both start and end of pass RSS in time-passes output

    Previously, only the end of pass RSS was indicated. This could easily
    lead one to believe that the change in RSS from one pass to the next was
    attributable to the second pass, when in fact it occurred between the
    end of the first pass and the start of the second.
    
    Also, improve alignment of columns.
    tgnottingham committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    2b8f2ac View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. Configuration menu
    Copy the full SHA
    a75f9bc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'sync_from_rust'

    bjorn3 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    eeb75c7 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#81618 - bjorn3:sync_cg_clif-2021-02-01, r=b…

    …jorn3
    
    Sync rustc_codegen_cranelift
    
    The highlight of this sync are abi compatibility with cg_llvm allowing mixing of cg_clif and cg_llvm compiled crates and switching to the x64 cranelift backend based on the new backend framework.
    
    r? ``@ghost``
    
    ``@rustbot`` label +A-codegen +A-cranelift +T-compiler
    jonas-schievink committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    02e1fd4 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Sync from rust d60b29d

    bjorn3 committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    d1df92e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4ae9ef View commit details
    Browse the repository at this point in the history
  3. Fix rustc bootstrap test

    bjorn3 committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    54523b8 View commit details
    Browse the repository at this point in the history
  4. Add a new ABI to support cmse_nonsecure_call

    This commit adds a new ABI to be selected via `extern
    "C-cmse-nonsecure-call"` on function pointers in order for the compiler to
    apply the corresponding cmse_nonsecure_call callsite attribute.
    For Armv8-M targets supporting TrustZone-M, this will perform a
    non-secure function call by saving, clearing and calling a non-secure
    function pointer using the BLXNS instruction.
    
    See the page on the unstable book for details.
    
    Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
    hug-dev committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    5bdc56c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Update Cranelift

    bjorn3 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    0f861e1 View commit details
    Browse the repository at this point in the history
  2. Update dependencies

    bjorn3 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    2d3603f View commit details
    Browse the repository at this point in the history
  3. Rustfmt

    bjorn3 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    decb9b2 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Sync from rust f4008fe

    bjorn3 committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    f36c14f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    176965f View commit details
    Browse the repository at this point in the history
  3. Update Cranelift

    bjorn3 committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    6fe5eac View commit details
    Browse the repository at this point in the history
  4. Update libc and libloading

    bjorn3 committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    bfcf97b View commit details
    Browse the repository at this point in the history
  5. Revert "Update libc and libloading"

    This reverts commit bfcf97b.
    
    It causes a "can't resolve symbol" crash on macOS
    bjorn3 committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    c5dff34 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. Stabilize str_split_once

    jhpratt committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    260a5d4 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. Pass around BackendConfig

    bjorn3 committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    94aac0a View commit details
    Browse the repository at this point in the history
  2. Rustfmt

    bjorn3 committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    658d124 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2021

  1. Use #!/usr/bin/env bash

    FreeBSD doesn't have /bin/bash
    bjorn3 committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    9be3936 View commit details
    Browse the repository at this point in the history
  2. Recognize FreeBSD as OS

    bjorn3 committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    87ecdaa View commit details
    Browse the repository at this point in the history
  3. Test FreeBSD on Cirrus CI

    bjorn3 committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    47bc1db View commit details
    Browse the repository at this point in the history
  4. Merge pull request rust-lang#1138 from bjorn3/cirrus_ci

    Test FreeBSD on CI
    bjorn3 committed Feb 14, 2021
    Configuration menu
    Copy the full SHA
    1337f96 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. Configuration menu
    Copy the full SHA
    fe8d11b View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Update Cranelift

    bjorn3 committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    c39cb46 View commit details
    Browse the repository at this point in the history
  2. Remove support for x86 oldBE

    bjorn3 committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    92f765f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2f5452 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    537db9a View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. Configuration menu
    Copy the full SHA
    702676b View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. Disable stack2reg optimization

    It causes a miscompilation of lewton
    
    Fixes rust-lang#1142
    bjorn3 committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    92c1b85 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2021

  1. Merge pull request rust-lang#1140 from bjorn3/no_more_oldbe

    Remove support for the old x86 Cranelift backend
    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    4cfb885 View commit details
    Browse the repository at this point in the history
  2. Don't import the metadata symbol

    Helps with rust-lang#1134
    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    25f7eee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8f3877 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b36fd9d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93373e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f45ea7 View commit details
    Browse the repository at this point in the history
  7. Remove shift amount masking

    Unlike the old x75 backend, the new x64 backend masks the shift amount
    itself, matching the specified semantics.
    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    c5f98b5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9c98027 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ee36a1f View commit details
    Browse the repository at this point in the history
  10. Fix CI

    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    b0f870e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    74f39b6 View commit details
    Browse the repository at this point in the history
  12. Assume constants can't fail to evaluate

    See rust-lang#81327 for the same change to cg_llvm
    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    0610490 View commit details
    Browse the repository at this point in the history
  13. Revert "Remove shift amount masking"

    This reverts commit c5f98b5.
    
    It turns out to be necessary anyway
    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    7fc3483 View commit details
    Browse the repository at this point in the history
  14. Various enum to int cast fixes

    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    ecba16f View commit details
    Browse the repository at this point in the history
  15. Sync from rust 3e826bb

    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    4eb6754 View commit details
    Browse the repository at this point in the history
  16. Rustfmt

    bjorn3 committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    013b3c5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a5bf6d2 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Update Cranelift

    bjorn3 committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    d5ac849 View commit details
    Browse the repository at this point in the history
  2. Update dependencies

    bjorn3 committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    b0028fa View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Configuration menu
    Copy the full SHA
    c247446 View commit details
    Browse the repository at this point in the history
  2. Update Cranelift

    bjorn3 committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    ef96a0f View commit details
    Browse the repository at this point in the history
  3. Use dynamic dispatch for the inner Module

    This improves compilation time and shrinks the linked backend from
    13MB to 9.7MB on Linux.
    bjorn3 committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    73d3a1c View commit details
    Browse the repository at this point in the history
  4. Merge pull request rust-lang#1144 from bjorn3/dynamic_module

    Use dynamic dispatch for the inner Module
    bjorn3 committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    86c5944 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. Rollup merge of rust-lang#81940 - jhpratt:stabilize-str_split_once, r…

    …=m-ou-se
    
    Stabilize str_split_once
    
    Closes rust-lang#74773
    GuillaumeGomez committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    8b7d335 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. Update Cranelift

    bjorn3 committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    27a5f4f View commit details
    Browse the repository at this point in the history
  2. Fix bootstrap test script

    bjorn3 committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    7d33e5b View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Sync from rust a0d66b5

    bjorn3 committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    9406510 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5f67dc View commit details
    Browse the repository at this point in the history
  3. Rustfmt

    bjorn3 committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    5e73629 View commit details
    Browse the repository at this point in the history
  4. Disable value debuginfo

    This prevents an expensive Cranelift pass from running to reconstruct the debuginfo
    bjorn3 committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    9a0c329 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a6ea77 View commit details
    Browse the repository at this point in the history