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 #87816

Merged
merged 60 commits into from
Aug 6, 2021
Merged

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    135edbf View commit details
    Browse the repository at this point in the history
  2. Don't pass local_crate_name to link_binary separately

    It is already part of CodegenResults
    bjorn3 committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    4cfa1fc View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

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

Commits on Jul 8, 2021

  1. Sync from rust 0deb536

    bjorn3 committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    7167f4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab4da11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea8d9ae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a0574d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e3091d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

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

Commits on Jul 14, 2021

  1. fix cranelift

    RalfJung committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    e643b8b View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Consider all fields when comparing DllImports, to remove nondetermini…

    …nsm in multiple-definitions test
    ricobbe committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    b47198a View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2021

  1. Update Cranelift

    bjorn3 committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    17eaf43 View commit details
    Browse the repository at this point in the history
  2. Remove shl/shr special handling for 128bit ints

    Cranelift now natively supports 128bit int shifting
    bjorn3 committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    f7cfb9d View commit details
    Browse the repository at this point in the history
  3. Don't truncate the shift amount

    It isn't actually necessary
    bjorn3 committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    6dc386e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ede41d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    60340d4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    80b9e36 View commit details
    Browse the repository at this point in the history
  7. Disable jit and inline-asm when building as part of rustc

    Both features are not yet ready. Inline-asm is only supported on Linux
    and requires explicitly specifying registers instead of register
    classes. The jit has usability issues and may require the cg_clif
    executable in the future.
    bjorn3 committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    c2a9839 View commit details
    Browse the repository at this point in the history
  8. Merge pull request rust-lang#1187 from bjorn3/feature_gating

    Preparations for building as part of rustc
    bjorn3 authored Jul 17, 2021
    Configuration menu
    Copy the full SHA
    bd2f72f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. Rollup merge of rust-lang#87092 - ricobbe:fix-raw-dylib-multiple-defi…

    …nitions, r=petrochenkov
    
    Remove nondeterminism in multiple-definitions test
    
    Compare all fields in `DllImport` when sorting to avoid nondeterminism in the error for multiple inconsistent definitions of an extern function.  Restore the multiple-definitions test.
    
    Resolves rust-lang#87084.
    JohnTitor authored Jul 18, 2021
    Configuration menu
    Copy the full SHA
    d7c3c45 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Sync from rust 8df945c

    bjorn3 committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    c151bb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ebb483 View commit details
    Browse the repository at this point in the history
  3. Avoid call to pointer_ty

    bjorn3 committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    3563608 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Support repr(simd) on ADTs containing a single array field

    This is the cg_clif half of rust PR 78863
    bjorn3 committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    c42be79 View commit details
    Browse the repository at this point in the history
  2. Fix two type mismatch bugs

    bjorn3 committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    a7b06e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. Fix simd_reduce_* intrinsics

    bjorn3 committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    344cbac View commit details
    Browse the repository at this point in the history
  2. Implement more simd intrinsics

    bjorn3 committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    90e4493 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2021

  1. Fix simd_round implementation

    bjorn3 committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    6d2221d View commit details
    Browse the repository at this point in the history
  2. Run stdsimd test suite

    bjorn3 committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    a0fb0fa View commit details
    Browse the repository at this point in the history
  3. Add fixme

    bjorn3 committed Jul 25, 2021
    Configuration menu
    Copy the full SHA
    581e38b View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Merge pull request rust-lang#1189 from bjorn3/stdsimd_fixes

    Improve stdsimd support
    bjorn3 authored Jul 26, 2021
    Configuration menu
    Copy the full SHA
    1f70802 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    424a8c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02db151 View commit details
    Browse the repository at this point in the history
  4. Introduce the CallTarget enum

    bjorn3 committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    050b417 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83da1e0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3361e34 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    405642b View commit details
    Browse the repository at this point in the history
  8. Fix y.rs build --sysroot llvm

    bjorn3 committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    2abc12d View commit details
    Browse the repository at this point in the history
  9. Fix ABI for Indirect arguments

    In case of PassMode::Indirect, the ownership of the backing storage is
    transfered to the callee. This means that the caller must copy the
    argument if it wants to use it again later.
    
    Fixes rust-lang#691
    bjorn3 committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    e387ec9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    472f9f9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    641e13e View commit details
    Browse the repository at this point in the history
  12. Enable a working libcore test

    bjorn3 committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    a2b17e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

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

    bjorn3 committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    bcf532c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4ba61e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Configuration menu
    Copy the full SHA
    8a6ff90 View commit details
    Browse the repository at this point in the history
  2. Remove workarounds for things unimplemented in Cranelift

    Many are now implemented, so it is much nicer to directly use the
    respective Cranelift instructions
    bjorn3 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    2e62516 View commit details
    Browse the repository at this point in the history
  3. Remove outdated FIXME

    bjorn3 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    bab224d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8704a66 View commit details
    Browse the repository at this point in the history
  5. Remove CPlace::no_place

    It is never the right function
    bjorn3 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    b7881bb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0b9f3b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Fix float min and max operations in presence of NaN

    Cranelift's fmin and fmax instructions propagate NaN, while Rust's min
    and max don't.
    
    Fixes rust-lang#1049
    bjorn3 committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    c6564f8 View commit details
    Browse the repository at this point in the history
  2. Re-enable a fixed rustc tests

    bjorn3 committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    84961ef View commit details
    Browse the repository at this point in the history
  3. rfc3052: Remove authors field from Cargo manifests

    Since RFC 3052 soft deprecated the authors field anyway, hiding it from
    crates.io, docs.rs, and making Cargo not add it by default, and it is
    not generally up to date/useful information, we should remove it from
    crates in this repo.
    lf- committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    966e54e View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Implement pointer casting.

    crlf0710 committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    6f68223 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Auto merge of rust-lang#87515 - crlf0710:trait_upcasting_part2, r=bjorn3

    Trait upcasting coercion (part2)
    
    This is the second part of trait upcasting coercion implementation.
    
    Currently this is blocked on rust-lang#86264 .
    
    The third part might be implemented using unsafety checking
    
    r? `@bjorn3`
    bors committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    0f83ac1 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. change instructions for manually compiling y.rs (rust-lang#1191)

    This prevents an error on windows where the `build_sysroot` function was trying to delete `y.exe`.
    gheoan authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    f9c5bbb View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Sync from rust 2ddb65c

    bjorn3 committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    2049137 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05677b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

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