Skip to content

Conversation

Aatch
Copy link
Contributor

@Aatch Aatch commented May 30, 2013

This alters the pipeline to improve the speed of the passes without impacting the performance of the compiled code.

This also makes mergefunc a default pass as it actually improves the speed of the inliner (less to inline) and lowers the size of the compiled binary, without a noticeable change in performance.

@thestinger
Copy link
Contributor

I don't understand why this is failing... one more try.

@pcwalton
Copy link
Contributor

The failures here are scary. Is LLVM miscompiling something?

bors added a commit that referenced this pull request May 31, 2013
@thestinger
Copy link
Contributor

Landed the first commit in #6859. I don't know why the others are failing (I tried without SROA).

@Aatch
Copy link
Contributor Author

Aatch commented Jun 1, 2013

I have a far better pipeline in a new branch. Once I make sure it doesn't end up with the same issue, I'll open a new PR.

@Aatch Aatch closed this Jun 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 25, 2021
…convention, r=flip1995

wrong_self_convention: fix lint in case of `to_*_mut` method

fixes rust-lang#6758
changelog: wrong_self_convention: fix lint in case of `to_*_mut` method. When a method starts with `to_` and ends with `_mut`, clippy expects a `&mut self` parameter, otherwise `&self`.

Any feedback is welcome. I was also thinking if shouldn't we treat `to_` the same way as `as_`. Namely to accept `self` taken:  `&self` or `&mut self`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants