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

Rollup of 5 pull requests #97849

Merged
merged 10 commits into from
Jun 8, 2022
Merged

Rollup of 5 pull requests #97849

merged 10 commits into from
Jun 8, 2022

Commits on Jun 7, 2022

  1. Remove AlwaysLiveLocals wrapper struct

    It is just a wrapper around a `BitSet` and
    doesn't have any functionality of its own.
    tmiasko committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    631d767 View commit details
    Browse the repository at this point in the history
  2. Change Direction::{is_forward,is_backward} functions into constants

    Make it explicit that the analysis direction is constant.
    
    This also makes the value immediately available for optimizations.
    Previously those functions were neither inline nor generic and so their
    definition was unavailable when using data flow framework from other
    crates.
    tmiasko committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    39de03d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    786c8b4 View commit details
    Browse the repository at this point in the history
  4. RustWrapper: adapt to APInt API changes in LLVM 15

    In https://reviews.llvm.org/D125556 upstream changed sext() and zext()
    to allow some no-op cases, which previously required use of the *OrSelf()
    methods, which I assume is what was going on here. The *OrSelf() methods
    got removed in https://reviews.llvm.org/D125559 after two weeks of
    deprecation because they came with some bonus (probably-undesired)
    behavior. Since the behavior of sext() and zext() changed slightly, I
    kept the old *OrSelf() calls in LLVM 14 and earlier, and only use the
    new version in LLVM 15.
    
    r? @nikic
    durin42 committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    1c26dd0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8542dd0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#97829 - JohnTitor:issue-95307, r=compiler-e…

    …rrors
    
    Add regresion test for rust-lang#95307
    
    Closes rust-lang#95307
    r? `@compiler-errors`
    matthiaskrgr authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    36e9cbc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#97831 - tmiasko:rm-always-live-locals-struc…

    …t, r=davidtwco
    
    Remove `AlwaysLiveLocals` wrapper struct
    
    It is just a wrapper around a `BitSet` and
    doesn't have any functionality of its own.
    matthiaskrgr authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    c9cf8ae View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#97832 - tmiasko:const-direction, r=cjgillot

    Change `Direction::{is_forward,is_backward}` functions into constants
    
    Make it explicit that the analysis direction is constant.
    
    This also makes the value immediately available for optimizations.
    Previously those functions were neither inline nor generic and so their
    definition was unavailable when using data flow framework from other
    crates.
    matthiaskrgr authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    796c466 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#97840 - durin42:llvm-15-apint, r=nikic

    RustWrapper: adapt to APInt API changes in LLVM 15
    
    In https://reviews.llvm.org/D125556 upstream changed sext() and zext()
    to allow some no-op cases, which previously required use of the *OrSelf()
    methods, which I assume is what was going on here. The *OrSelf() methods
    got removed in https://reviews.llvm.org/D125559 after two weeks of
    deprecation because they came with some bonus (probably-undesired)
    behavior. Since the behavior of sext() and zext() changed slightly, I
    kept the old *OrSelf() calls in LLVM 14 and earlier, and only use the
    new version in LLVM 15.
    
    r? `@nikic`
    matthiaskrgr authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    5870156 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#97845 - estebank:spancito, r=compiler-errors

    Use more targeted suggestion when confusing i8 with std::i8
    
    r? `@compiler-errors`
    matthiaskrgr authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    c2d8485 View commit details
    Browse the repository at this point in the history