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

Add StatementKind::CopyNonOverlapping #77511

Merged
merged 10 commits into from
Mar 10, 2021
Merged

Commits on Mar 9, 2021

  1. Configuration menu
    Copy the full SHA
    0fdc07e View commit details
    Browse the repository at this point in the history
  2. Update fmt and use of memcpy

    I'm still not totally sure if this is the right way to implement the memcpy, but that portion
    compiles correctly now. Now to fix the compile errors everywhere else :).
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    72c734d View commit details
    Browse the repository at this point in the history
  3. Update match branches

    This updates all places where match branches check on StatementKind or UseContext.
    This doesn't properly implement them, but adds TODOs where they are, and also adds some best
    guesses to what they should be in some cases.
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    89f45ed View commit details
    Browse the repository at this point in the history
  4. Update interpret step

    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    37a6c04 View commit details
    Browse the repository at this point in the history
  5. Update cranelift

    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    982382d View commit details
    Browse the repository at this point in the history
  6. Replace todos with impls

    Changed to various implementations, copying the style of prior function calls in places I was
    unsure of.
    
    Also one minor style nit.
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    049045b View commit details
    Browse the repository at this point in the history
  7. Change CopyNonOverlapping::codegen_ssa

    Fixes copy_non_overlapping codegen_ssa to properly handle pointees,
    and use bytes instead of elem count
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    845e4b5 View commit details
    Browse the repository at this point in the history
  8. Build StKind::CopyOverlapping

    This replaces where it was previously being constructed in intrinsics, with direct construction
    of the Statement.
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    d4ae9ff View commit details
    Browse the repository at this point in the history
  9. Switch to changing cp_non_overlap in tform

    It was suggested to lower this in MIR instead of ssa, so do that instead.
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    217ff6b View commit details
    Browse the repository at this point in the history
  10. Clean up todos

    Also add some span_bugs where it is unreachable
    JulianKnodt committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    4bceb29 View commit details
    Browse the repository at this point in the history