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_gcc 2023/03/04 #108783

Merged
merged 298 commits into from
Mar 8, 2023
Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 29, 2022

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

Commits on Jun 30, 2022

  1. Add comment

    antoyo committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    9edaf82 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    0ba53c8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#195 from GuillaumeGomez/split-rustc-tests

    Split rustc tests in two
    antoyo authored Jul 5, 2022
    Configuration menu
    Copy the full SHA
    14e0924 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Update TypeVisitor paths

    eggyal committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    97b7dc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a697703 View commit details
    Browse the repository at this point in the history
  3. Add antoyo in TODOs

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    1777cdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    910ec42 View commit details
    Browse the repository at this point in the history
  5. Disable avx512

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    4094923 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1c4ca28 View commit details
    Browse the repository at this point in the history
  7. Reenable target flags

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    6205f1a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9db55d2 View commit details
    Browse the repository at this point in the history
  9. Use gccjit from repo

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    85036a5 View commit details
    Browse the repository at this point in the history
  10. Fix build only

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    16ca66d View commit details
    Browse the repository at this point in the history
  11. Fix all command

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    d19a5ea View commit details
    Browse the repository at this point in the history
  12. Fix warnings

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    fea51f3 View commit details
    Browse the repository at this point in the history
  13. Format

    antoyo committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    b14b440 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Add name in TODO

    antoyo committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    5f4777e View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#190 from rust-lang/feature/more-simd

    Feature/more simd
    antoyo authored Jul 7, 2022
    Configuration menu
    Copy the full SHA
    0d687bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50f359c View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Merge pull request rust-lang#196 from GuillaumeGomez/faster-ci

    Split tests to have faster CI
    antoyo authored Jul 8, 2022
    Configuration menu
    Copy the full SHA
    fe42754 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#98638 - bjorn3:less_string_interning, r=tmiasko

    Use less string interning
    
    This removes string interning in a couple of places where doing so won't result in perf improvements. I also switched one place to use pre-interned symbols.
    bors committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    4587677 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96d103b View commit details
    Browse the repository at this point in the history
  4. Merge pull request rust-lang#200 from GuillaumeGomez/sort-find

    Sort ui_tests to ensure they remain coherent across different jobs
    antoyo authored Jul 8, 2022
    Configuration menu
    Copy the full SHA
    7c9db86 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2022

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

Commits on Jul 10, 2022

  1. Configuration menu
    Copy the full SHA
    28b1111 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#201 from GuillaumeGomez/cache-rust

    Add cache for rust repository
    antoyo authored Jul 10, 2022
    Configuration menu
    Copy the full SHA
    22e4f18 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Keep unstable target features for asm feature checking

    Inline assembly uses the target features to determine which registers
    are available on the current target. However it needs to be able to
    access unstable target features for this.
    
    Fixes rust-lang#99071
    Amanieu committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    c98d66c View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Rollup merge of rust-lang#99155 - Amanieu:unstable-target-features, r…

    …=davidtwco
    
    Keep unstable target features for asm feature checking
    
    Inline assembly uses the target features to determine which registers
    are available on the current target. However it needs to be able to
    access unstable target features for this.
    
    Fixes rust-lang#99071
    Dylan-DPC authored Jul 13, 2022
    Configuration menu
    Copy the full SHA
    6bcab05 View commit details
    Browse the repository at this point in the history
  2. Rename debugging_opts to unstable_opts

    This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
    Rename it to be more clear.
    jyn514 committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    bca7b02 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Configuration menu
    Copy the full SHA
    4f118ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f29018 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f24eb8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59d223d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Auto merge of rust-lang#99420 - RalfJung:vtable, r=oli-obk

    make vtable pointers entirely opaque
    
    This implements the scheme discussed in rust-lang/unsafe-code-guidelines#338: vtable pointers should be considered entirely opaque and not even readable by Rust code, similar to function pointers.
    
    - We have a new kind of `GlobalAlloc` that symbolically refers to a vtable.
    - Miri uses that kind of allocation when generating a vtable.
    - The codegen backends, upon encountering such an allocation, call `vtable_allocation` to obtain an actually dataful allocation for this vtable.
    - We need new intrinsics to obtain the size and align from a vtable (for some `ptr::metadata` APIs), since direct accesses are UB now.
    
    I had to touch quite a bit of code that I am not very familiar with, so some of this might not make much sense...
    r? `@oli-obk`
    bors committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    e5e7395 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fef3b3e View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. Add fine-grained LLVM CFI support to the Rust compiler

    This commit improves the LLVM Control Flow Integrity (CFI) support in
    the Rust compiler by providing forward-edge control flow protection for
    Rust-compiled code only by aggregating function pointers in groups
    identified by their return and parameter types.
    
    Forward-edge control flow protection for C or C++ and Rust -compiled
    code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code
    share the same virtual address space) will be provided in later work as
    part of this project by identifying C char and integer type uses at the
    time types are encoded (see Type metadata in the design document in the
    tracking issue rust-lang#89653).
    
    LLVM CFI can be enabled with -Zsanitizer=cfi and requires LTO (i.e.,
    -Clto).
    rcvalle committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    bfe3c24 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. Configuration menu
    Copy the full SHA
    5f630f3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#202 from rust-lang/fix/recursive-types

    Cleanup regarding handling of recursive types
    antoyo authored Jul 24, 2022
    Configuration menu
    Copy the full SHA
    a227994 View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#95548 - rcvalle:rust-cfi-2, r=nagisa

    Add fine-grained LLVM CFI support to the Rust compiler
    
    This PR improves the LLVM Control Flow Integrity (CFI) support in the Rust compiler by providing forward-edge control flow protection for Rust-compiled code only by aggregating function pointers in groups identified by their return and parameter types.
    
    Forward-edge control flow protection for C or C++ and Rust -compiled code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code share the same virtual address space) will be provided in later work as part of this project by identifying C char and integer type uses at the time types are encoded (see Type metadata in the design document in the tracking issue rust-lang#89653).
    
    LLVM CFI can be enabled with -Zsanitizer=cfi and requires LTO (i.e., -Clto).
    
    Thank you again, `@eddyb,` `@nagisa,` `@pcc,` and `@tmiasko` for all the help!
    bors committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    c5528ce View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Auto merge of rust-lang#98989 - dpaoliello:rawdylibbin, r=michaelwoer…

    …ister
    
    Enable raw-dylib for bin crates
    
    Fixes rust-lang#93842
    
    When `raw-dylib` is used in a `bin` crate, we need to collect all of the `raw-dylib` functions, generate the import library and add that to the linker command line.
    
    I also changed the tests so that 1) the C++ dlls are created after the Rust dlls, thus there is no chance of accidentally using them in the Rust linking process and 2) disabled generating import libraries when building with MSVC.
    bors committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    fe5cc38 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    a3ea31b View commit details
    Browse the repository at this point in the history
  2. Inline inject_dll_import_lib

    bjorn3 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    56f3486 View commit details
    Browse the repository at this point in the history
  3. Introduce an ArchiveBuilderBuilder

    This avoids monomorphizing all linker code for each codegen backend and
    will allow passing in extra information to the archive builder from the
    codegen backend.
    bjorn3 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    3a8ff61 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Support symbol visibility

    antoyo committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    672eec3 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Merge pull request rust-lang#203 from rust-lang/feature/visibility

    Support symbol visibility
    antoyo authored Aug 4, 2022
    Configuration menu
    Copy the full SHA
    70c7c06 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Fix the mxcsr builtins

    antoyo committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    deedd28 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#204 from rust-lang/fix/mxcsr-builtins

    Fix the mxcsr builtins
    antoyo authored Aug 5, 2022
    Configuration menu
    Copy the full SHA
    b4eb2c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

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

Commits on Aug 20, 2022

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

Commits on Aug 26, 2022

  1. Rollup merge of rust-lang#100604 - dtolnay:okorerr, r=m-ou-se

    Remove unstable Result::into_ok_or_err
    
    Pending FCP: rust-lang#82223 (comment)
    
    ```@rustbot``` label +waiting-on-fcp
    JohnTitor authored Aug 26, 2022
    Configuration menu
    Copy the full SHA
    5b1229e View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. Configuration menu
    Copy the full SHA
    081eb74 View commit details
    Browse the repository at this point in the history
  2. Fix merge conflicts

    antoyo committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    9a6b755 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    antoyo committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    7d01d51 View commit details
    Browse the repository at this point in the history
  4. Fix tests

    antoyo committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    eed6603 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    61a7b96 View commit details
    Browse the repository at this point in the history
  6. Merge pull request rust-lang#209 from rust-lang/2022-08-26_sync_from_…

    …rust
    
    2022/08/26 sync from rust
    antoyo authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    b4626b3 View commit details
    Browse the repository at this point in the history
  7. simd: Implement missing reduction intrinsics

    Implements the following simd reduction intrinsics:
    - simd_reduce_add_ordered
    - simd_reduce_mul_ordered
    - simd_reduce_min_nanless
    - simd_reduce_max_nanless
    - simd_reduce_xor
    - simd_reduce_any
    - simd_reduce_all
    
    Also fixes the ordering of simd_reduce_min and simd_reduce_max,
    which were tested to be flipped.
    
    Both simd_reduce_min_nanless and simd_reduce_max_nanless are identical
    to their non-nanless variants for the time being.  An attempt was made
    at a more optimal codegen solution based on vector_reduce_op.  However,
    this approach ran into masking issues for floating-point vector types,
    which appears to be broken for the same reason that comparison
    operations such as simd_lt are broken for floating-point vector types.
    More investigation is required, however, to determine a root cause and
    appropriate fix.
    
    This should be enough to pass the generic-reduction-pass.rs ui tests
    with the 'master' feature enabled.
    
    Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
    sadlerap committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    4df874f View commit details
    Browse the repository at this point in the history
  8. Merge pull request rust-lang#183 from sadlerap/simd-reduction-intrinsics

    simd: Implement missing reduction intrinsics
    antoyo authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    346ae2a View commit details
    Browse the repository at this point in the history
  9. Regen intrinsics

    GuillaumeGomez committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    e82c6a0 View commit details
    Browse the repository at this point in the history
  10. Merge pull request rust-lang#207 from GuillaumeGomez/regen-intrinsics

    Regenerate intrinsics
    antoyo authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    9d6b4a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5c2dec0 View commit details
    Browse the repository at this point in the history
  12. Merge pull request rust-lang#211 from rust-lang/fix/used-function-att…

    …ribute-inline-asm
    
    Add used function attribute from inline asm
    antoyo authored Aug 27, 2022
    Configuration menu
    Copy the full SHA
    06b6ec0 View commit details
    Browse the repository at this point in the history
  13. Remove extra newline in asm

    antoyo committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    fc56c54 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2022

  1. Merge pull request rust-lang#210 from rust-lang/fix/asm-newline

    Remove extra newline in asm
    antoyo authored Aug 28, 2022
    Configuration menu
    Copy the full SHA
    866f9c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Configuration menu
    Copy the full SHA
    45ec5f2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#213 from rust-lang/fix/bitcast-wrong-size

    Fix bitcast to a type of a different size
    antoyo authored Aug 29, 2022
    Configuration menu
    Copy the full SHA
    2342414 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. simd: implement simd_fmin/fmax

    This implements simd_fmin/fmax in a largely-optimal method.
    
    Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
    sadlerap committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    1d3ca13 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#214 from sadlerap/minmax

    simd: implement simd_fmin/fmax
    antoyo authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    f623e53 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Add IRC channel in the readme

    antoyo committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    9560cb1 View commit details
    Browse the repository at this point in the history
  2. Fix IRC badge

    antoyo committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    2ecd620 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. simd: impl extract_element for vector types

    This fixes some tests that needed vector element extraction.
    
    Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
    sadlerap committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    d7d820f View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. Merge pull request rust-lang#215 from sadlerap/extract-element

    simd: impl extract_element for vector types
    antoyo authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    b0ccfd1 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    3e67109 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#218 from rust-lang/fix/build-release-sys…

    …root
    
    Fix build of release sysroot in test.sh
    antoyo authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    1724042 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. harden ci configuration

    pietroalbini committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    d9edc8e View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. simd: implement float math intrinsics

    Implements the intrinsics required to pass float-math-pass and
    libm_std_can_float ui tests.
    
    Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
    sadlerap committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    688f742 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#219 from sadlerap/float-intrinsics

    simd: implement float math intrinsics
    antoyo authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    8ead881 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    af28dec View commit details
    Browse the repository at this point in the history
  2. Fix pointer comparison

    antoyo committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    12105bc View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Fix gep

    antoyo committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    ed570f6 View commit details
    Browse the repository at this point in the history
  2. Add more debugging options

    antoyo committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    6b7e16f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    090cde9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    908304e View commit details
    Browse the repository at this point in the history
  5. Merge pull request rust-lang#224 from rust-lang/fix/gep-release-mode

    Add CI tests with a sysroot compiled in release mode
    antoyo authored Oct 1, 2022
    Configuration menu
    Copy the full SHA
    98f0dc1 View commit details
    Browse the repository at this point in the history
  6. Implement llvm.prefetch

    antoyo committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    a0654b3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request rust-lang#226 from rust-lang/feature/llvm-prefetch

    Implement llvm.prefetch
    antoyo authored Oct 1, 2022
    Configuration menu
    Copy the full SHA
    6f1adbd View commit details
    Browse the repository at this point in the history
  8. Fix warnings

    antoyo committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    a28618d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2022

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

Commits on Oct 3, 2022

  1. simd: enable simd_as intrinsic

    The method context.convert_vector, added to libgccjit for simd_cast,
    appears to give the correct behavior for simd_as.  Instead of
    special-casing simd_as, re-use simd_cast's impl for simd_as.
    
    Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
    sadlerap committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    436710f View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#228 from sadlerap/simd-as

    simd: enable simd_as intrinsic
    antoyo authored Oct 3, 2022
    Configuration menu
    Copy the full SHA
    235414e View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2022

  1. More debug options

    antoyo committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    23a1a86 View commit details
    Browse the repository at this point in the history
  2. Fix some vfmaddsub intrinsics

    antoyo committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    c573621 View commit details
    Browse the repository at this point in the history
  3. Fix vfmadd

    antoyo committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    74dac5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44e3ea3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Fix vector_select

    antoyo committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    1fa8b26 View commit details
    Browse the repository at this point in the history
  2. Fix simd_bitmask

    antoyo committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    f73dea7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#230 from rust-lang/fix/simd_bitmask

    Fix/simd bitmask
    antoyo authored Oct 9, 2022
    Configuration menu
    Copy the full SHA
    04fd2d3 View commit details
    Browse the repository at this point in the history
  4. Fix simd_select_bitmask

    antoyo committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    e5ce7a9 View commit details
    Browse the repository at this point in the history
  5. Fix simd_select

    antoyo committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    173db39 View commit details
    Browse the repository at this point in the history
  6. Merge pull request rust-lang#231 from rust-lang/fix/simd_select_bitmask

    Fix/simd select bitmask
    antoyo authored Oct 9, 2022
    Configuration menu
    Copy the full SHA
    e84f9a1 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2022

  1. bump actions for node16

    paulcacheux committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    12bfb01 View commit details
    Browse the repository at this point in the history
  2. remove cargo cache fixups

    paulcacheux committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    cd01e8d View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#233 from paulcacheux/paulcacheux/bump-gi…

    …thub-actions
    
    Bump Github actions
    antoyo authored Oct 15, 2022
    Configuration menu
    Copy the full SHA
    7f95363 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94d58b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. remove empty directory

    paulcacheux committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    db489d0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#234 from paulcacheux/paulcacheux/remove-…

    …rustc-patch
    
    Remove not applicable rustc patch
    antoyo authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    618553b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25d4828 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    b3198c7 View commit details
    Browse the repository at this point in the history
  2. Add asm test suite

    GuillaumeGomez committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    ccfe7d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d04e66f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94a4a4c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    549fbe8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1b60286 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5484c13 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f150ab3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    994a669 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Update Readme.md

    GuillaumeGomez committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    c89e3e9 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    GuillaumeGomez authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    ea52df4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#236 from GuillaumeGomez/install-doc

    Improve installation documentation
    antoyo authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    cc5c387 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Configuration menu
    Copy the full SHA
    78f960b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a2c8b0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#238 from GuillaumeGomez/fix-build-instru…

    …ctions
    
    Fix gcc build instructions
    antoyo authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    fac8d3a View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Configuration menu
    Copy the full SHA
    bf3ef4c View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#232 from GuillaumeGomez/more-inline-asm-…

    …register-class-conversion
    
    Add missing register class conversion for inline asm
    antoyo authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    bfc184c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Escape { and } in inline asm

    antoyo committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    15fcca8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#239 from rust-lang/fix/expandloadu

    Escape { and } in inline asm
    antoyo authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    3c03c8f View commit details
    Browse the repository at this point in the history
  3. Fix simd_bitmask

    antoyo committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    76991ba View commit details
    Browse the repository at this point in the history
  4. Merge pull request rust-lang#240 from rust-lang/fix/simd_bitmask

    Fix simd_bitmask
    antoyo authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    83c55fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bbc0c26 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    69341c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Merge pull request rust-lang#241 from rust-lang/fix/avx-intrinsics

    Fix the argument order for some AVX-512 intrinsics
    antoyo authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    57b50df View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#174 from rust-lang/ci/ubuntu-libgccjit-12

    Download libgccjit-12-dev package in the CI
    antoyo authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    8520bc7 View commit details
    Browse the repository at this point in the history
  3. Run stdarch tests in the CI

    antoyo committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    3791646 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    054696e View commit details
    Browse the repository at this point in the history
  5. Merge pull request rust-lang#225 from rust-lang/feature/stdarch-tests

    Run stdarch tests in the CI
    antoyo authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    0a54f24 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. WIP: Implement unwinding

    antoyo committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    889a33a View commit details
    Browse the repository at this point in the history
  2. WIP

    antoyo committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    b0cf0e8 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Comment

    antoyo committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    71d7e56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c1d21c View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Fix unwinding

    antoyo committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    a4b74e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

  1. Cleanup

    antoyo committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    70659f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Support libgccjit12

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    af8db75 View commit details
    Browse the repository at this point in the history
  2. Use gccjit from repo

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    2bf7fb4 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    f1f136b View commit details
    Browse the repository at this point in the history
  4. Fix tests

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    4b628e5 View commit details
    Browse the repository at this point in the history
  5. Add missing failing tests

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    e87b014 View commit details
    Browse the repository at this point in the history
  6. Fix tests

    antoyo committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    5f8cdd2 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Fix tests

    antoyo committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    ea75295 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    246ba9b View commit details
    Browse the repository at this point in the history
  3. Fix LLVM builtin mapping

    antoyo committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    8e77fbf View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Merge pull request rust-lang#244 from rust-lang/feature/unwinding

    Implement unwinding
    antoyo authored Jan 11, 2023
    Configuration menu
    Copy the full SHA
    6c5a70d View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

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

Commits on Jan 14, 2023

  1. Merge pull request rust-lang#243 from bjorn3/no_codegen_hir

    Avoid a hir access inside get_static
    antoyo authored Jan 14, 2023
    Configuration menu
    Copy the full SHA
    f6ad065 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Adjust failing tests

    antoyo committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    f5ced68 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Cleanup

    antoyo committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    fa6ae3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6024f3 View commit details
    Browse the repository at this point in the history
  3. Fix signed integer overflow

    antoyo committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    41f5e70 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2dc7dbc View commit details
    Browse the repository at this point in the history
  5. Merge pull request rust-lang#249 from rust-lang/fix/signed-integer-ov…

    …erflow
    
    Fix/signed integer overflow
    antoyo authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    8d0ff6b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2023

  1. Implement simd_gather

    antoyo committed Feb 25, 2023
    Configuration menu
    Copy the full SHA
    0898eab View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2023

  1. Implement simd_scatter

    antoyo committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    df72765 View commit details
    Browse the repository at this point in the history
  2. Update failures

    antoyo committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    830a821 View commit details
    Browse the repository at this point in the history
  3. Add feature gate

    antoyo committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    3e61492 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edee097 View commit details
    Browse the repository at this point in the history
  5. Remove comment

    antoyo committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    16b377e View commit details
    Browse the repository at this point in the history
  6. Merge pull request rust-lang#254 from rust-lang/feature/simd_scatter_…

    …gather
    
    Feature/simd scatter gather
    antoyo authored Feb 26, 2023
    Configuration menu
    Copy the full SHA
    7a22c47 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    1fcf437 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32a2e37 View commit details
    Browse the repository at this point in the history
  3. Box CastTarget within PassMode.

    Because `PassMode::Cast` is by far the largest variant, but is
    relatively rare.
    
    This requires making `PassMode` not impl `Copy`, and `Clone` is no
    longer necessary. This causes lots of sigil adjusting, but nothing very
    notable.
    nnethercote authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    d01d0d1 View commit details
    Browse the repository at this point in the history
  4. Change FnAbi::args to a boxed slice.

    nnethercote authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    a283ded View commit details
    Browse the repository at this point in the history
  5. Simplify arg capacity calculations.

    Currently they try to be very precise. But they are wrong, i.e. they
    don't match what's happening in the loop below. This code isn't hot
    enough for it to matter that much.
    nnethercote authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    3c2d432 View commit details
    Browse the repository at this point in the history
  6. Turn ArgAbi::pad into a bool.

    Because it's only ever set to `None` or `Some(Reg::i32())`.
    nnethercote authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    8ebade2 View commit details
    Browse the repository at this point in the history
  7. Move ArgAbi::pad_i32 into PassMode::Cast.

    Because it's only needed for that variant. This shrinks the types and
    clarifies the logic.
    nnethercote authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b3f2942 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a7f6e7e View commit details
    Browse the repository at this point in the history
  9. Fix ptr_mask impl in cg gcc

    WaffleLapkin authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    5eedd54 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    80b1c8d View commit details
    Browse the repository at this point in the history
  11. Move the cast_float_to_int fallback code to GCC

    Now that we require at least LLVM 13, that codegen backend is always
    using its intrinsic `fptosi.sat` and `fptoui.sat` conversions, so it
    doesn't need the manual implementation. However, the GCC backend still
    needs it, so we can move all of that code down there.
    cuviper authored and antoyo committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    91cf284 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a50c152 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Stabilize bench_black_box

    Urgau authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    a900ba9 View commit details
    Browse the repository at this point in the history
  2. Add RanlibFailure

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    c503d97 View commit details
    Browse the repository at this point in the history
  3. Add LinkageConstOrMutType

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    5a9ec83 View commit details
    Browse the repository at this point in the history
  4. Add UnwindingInlineAsm

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    2592bef View commit details
    Browse the repository at this point in the history
  5. Add LTONotSupported

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    4a861c1 View commit details
    Browse the repository at this point in the history
  6. Add LayoutSizeOverflow

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    1b5dd4b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b4a051e View commit details
    Browse the repository at this point in the history
  8. remove IntoDiagnosticArg impl for Option

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    c4149da View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4718bee View commit details
    Browse the repository at this point in the history
  10. lint type

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    f21041d View commit details
    Browse the repository at this point in the history
  11. Add monomorphization errors

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    ef3aaa1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2e46dc2 View commit details
    Browse the repository at this point in the history
  13. rebase and update trait names

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    9bbb491 View commit details
    Browse the repository at this point in the history
  14. fix lifetime error

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    925b11e View commit details
    Browse the repository at this point in the history
  15. remove comment

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    70aeb9e View commit details
    Browse the repository at this point in the history
  16. lint and remove unused diagnostic

    ellishg authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    9c67dcf View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5c30c25 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5943166 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5d5c5f9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    15b0747 View commit details
    Browse the repository at this point in the history
  21. Merge apply_attrs_callsite into call and invoke

    Some codegen backends are not able to apply callsite attrs after the fact.
    bjorn3 authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    d993319 View commit details
    Browse the repository at this point in the history
  22. Remove dynamic_alloca from BuilderMethods

    bjorn3 authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    b909493 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4310bbd View commit details
    Browse the repository at this point in the history
  24. Stabilize asm_sym

    Amanieu authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    affe23b View commit details
    Browse the repository at this point in the history
  25. Migrate all diagnostics

    Noratrieb authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    dbe3df3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4c0a6e6 View commit details
    Browse the repository at this point in the history
  27. Rewrite implementation of #[alloc_error_handler]

    The new implementation doesn't use weak lang items and instead changes
    `#[alloc_error_handler]` to an attribute macro just like
    `#[global_allocator]`.
    
    The attribute will generate the `__rg_oom` function which is called by
    the compiler-generated `__rust_alloc_error_handler`. If no `__rg_oom`
    function is defined in any crate then the compiler shim will call
    `__rdl_oom` in the alloc crate which will simply panic.
    
    This also fixes link errors with `-C link-dead-code` with
    `default_alloc_error_handler`: `__rg_oom` was previously defined in the
    alloc crate and would attempt to reference the `oom` lang item, even if
    it didn't exist. This worked as long as `__rg_oom` was excluded from
    linking since it was not called.
    
    This is a prerequisite for the stabilization of
    `default_alloc_error_handler` (rust-lang#102318).
    Amanieu authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    dd930a3 View commit details
    Browse the repository at this point in the history
  28. Add type_array to BaseTypeMethods

    Moved type_array function to rustc_codegen_ssa::BaseTypeMethods trait.
    This allows using normal alloca function to create arrays as suggested in
    rust-lang#104022.
    
    Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
    Ayush1325 authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    a897864 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    fb747d0 View commit details
    Browse the repository at this point in the history
  30. fix cranelift and gcc

    RalfJung authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    5378b46 View commit details
    Browse the repository at this point in the history
  31. Introduce composite debuginfo.

    cjgillot authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    4cbf5e6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    5b9b849 View commit details
    Browse the repository at this point in the history
  33. Use &mut Bx more.

    For the next commit, `FunctionCx::codegen_*_terminator` need to take a
    `&mut Bx` instead of consuming a `Bx`. This triggers a cascade of
    similar changes across multiple functions. The resulting code is more
    concise and replaces many `&mut bx` expressions with `bx`.
    nnethercote authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    bf4e1e4 View commit details
    Browse the repository at this point in the history
  34. Use custom entry name in gcc

    This is a continuation of 9f0a862 for
    gcc.
    
    Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
    Ayush1325 authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    21af0df View commit details
    Browse the repository at this point in the history
  35. Remove more redundant alls

    ChrisDenton authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    6f7a017 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    634a709 View commit details
    Browse the repository at this point in the history
  37. Rewrite LLVM's archive writer in Rust

    This allows it to be used by other codegen backends
    bjorn3 authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    d1eb38f View commit details
    Browse the repository at this point in the history
  38. Move linkage type check to HIR analysis and fix semantics issues.

    This ensures that the error is printed even for unused variables,
    as well as unifying the handling between the LLVM and GCC backends.
    
    This also fixes unusual behavior around exported Rust-defined variables
    with linkage attributes. With the previous behavior, it appears to be
    impossible to define such a variable such that it can actually be imported
    and used by another crate. This is because on the importing side, the
    variable is required to be a pointer, but on the exporting side, the
    type checker rejects static variables of pointer type because they do
    not implement `Sync`. Even if it were possible to import such a type, it
    appears that code generation on the importing side would add an unexpected
    additional level of pointer indirection, which would break type safety.
    
    This highlighted that the semantics of linkage on Rust-defined variables
    is different to linkage on foreign items. As such, we now model the
    difference with two different codegen attributes: linkage for Rust-defined
    variables, and import_linkage for foreign items.
    
    This change gives semantics to the test
    src/test/ui/linkage-attr/auxiliary/def_illtyped_external.rs which was
    previously expected to fail to compile. Therefore, convert it into a
    test that is expected to successfully compile.
    
    The update to the GCC backend is speculative and untested.
    pcc authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    43f868b View commit details
    Browse the repository at this point in the history
  39. Add LLVM KCFI support to the Rust compiler

    This commit adds LLVM Kernel Control Flow Integrity (KCFI) support to
    the Rust compiler. It initially provides forward-edge control flow
    protection for operating systems kernels for Rust-compiled code only by
    aggregating function pointers in groups identified by their return and
    parameter types. (See llvm/llvm-project@cff5bef.)
    
    Forward-edge control flow protection for C or C++ and Rust -compiled
    code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code
    share the same virtual address space) will be provided in later work as
    part of this project by identifying C char and integer type uses at the
    time types are encoded (see Type metadata in the design document in the
    tracking issue rust-lang#89653).
    
    LLVM KCFI can be enabled with -Zsanitizer=kcfi.
    
    Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
    2 people authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    7c2db89 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    c2e83dc View commit details
    Browse the repository at this point in the history
  41. rustc: Remove needless lifetimes

    jeremystucki authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    888137d View commit details
    Browse the repository at this point in the history
  42. Add missing anonymous lifetime

    jeremystucki authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    3a1d324 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    fa874b0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    5dcda26 View commit details
    Browse the repository at this point in the history
  45. abi: add AddressSpace field to Primitive::Pointer

    ...and remove it from `PointeeInfo`, which isn't meant for this.
    
    There are still various places (marked with FIXMEs) that assume all pointers
    have the same size and alignment. Fixing this requires parsing non-default
    address spaces in the data layout string, which will be done in a followup.
    erikdesjardins authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    7bf0670 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    bedaeda View commit details
    Browse the repository at this point in the history
  47. session: diagnostic migration lint on more fns

    Apply the diagnostic migration lint to more functions on `Session`.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    1640cca View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    ae429e8 View commit details
    Browse the repository at this point in the history
  49. errors: generate typed identifiers in each crate

    Instead of loading the Fluent resources for every crate in
    `rustc_error_messages`, each crate generates typed identifiers for its
    own diagnostics and creates a static which are pulled together in the
    `rustc_driver` crate and provided to the diagnostic emitter.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    564ab10 View commit details
    Browse the repository at this point in the history
  50. various: translation resources from cg backend

    Extend `CodegenBackend` trait with a function returning the translation
    resources from the codegen backend, which can be added to the complete
    list of resources provided to the emitter.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    7696f98 View commit details
    Browse the repository at this point in the history
  51. Remove type-traversal trait aliases

    eggyal authored and antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    802e902 View commit details
    Browse the repository at this point in the history
  52. Update toolchain

    antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    78f3a7e View commit details
    Browse the repository at this point in the history
  53. Fix rebase

    antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    e74f6ff View commit details
    Browse the repository at this point in the history
  54. Fix to examples

    antoyo committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    d8b5a3e View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Fix error

    antoyo committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    b4f83c6 View commit details
    Browse the repository at this point in the history
  2. Regen intrinsics

    GuillaumeGomez committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    74506d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

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

Commits on Mar 4, 2023

  1. Fix tests

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    a2f499f View commit details
    Browse the repository at this point in the history
  2. Fix tests

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    901e413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6958188 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08c75ae View commit details
    Browse the repository at this point in the history
  5. Fix warnings

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    5c35dc0 View commit details
    Browse the repository at this point in the history
  6. Fix tests

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    9d5bc7c View commit details
    Browse the repository at this point in the history
  7. Fix tests

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    42a89bd View commit details
    Browse the repository at this point in the history
  8. Fix tests

    antoyo committed Mar 4, 2023
    Configuration menu
    Copy the full SHA
    f83ede0 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Fix tests

    antoyo committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    3180da5 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    antoyo committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    4b878cc View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-lang#255 from rust-lang/sync_from_rust_2023_f…

    …eb_28_2
    
    Sync from rust 2023 feb 28
    antoyo authored Mar 5, 2023
    Configuration menu
    Copy the full SHA
    08a6d6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6bb2af0 View commit details
    Browse the repository at this point in the history
  5. Update gccjit

    antoyo committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    fce7053 View commit details
    Browse the repository at this point in the history
  6. Fix for diagnostics

    antoyo committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    2c0c25d View commit details
    Browse the repository at this point in the history