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

remove the #[inline] attribute from drop_in_place #41920

Merged
merged 2 commits into from
May 13, 2017

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented May 11, 2017

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes #41696.

beta-nominating because regression.
r? @eddyb

@arielb1 arielb1 added the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 11, 2017
@eddyb
Copy link
Member

eddyb commented May 11, 2017

@bors r+

@bors
Copy link
Contributor

bors commented May 11, 2017

📌 Commit c7b61fc has been approved by eddyb

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes rust-lang#41696.
@arielb1
Copy link
Contributor Author

arielb1 commented May 11, 2017

added a comment to test

@bors r=eddyb

@bors
Copy link
Contributor

bors commented May 11, 2017

📌 Commit b0c80a9 has been approved by eddyb

@alexcrichton alexcrichton added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 11, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 12, 2017
remove the #[inline] attribute from drop_in_place

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes rust-lang#41696.

beta-nominating  because regression.
r? @eddyb
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 12, 2017
remove the #[inline] attribute from drop_in_place

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes rust-lang#41696.

beta-nominating  because regression.
r? @eddyb
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 12, 2017
remove the #[inline] attribute from drop_in_place

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes rust-lang#41696.

beta-nominating  because regression.
r? @eddyb
@arielb1
Copy link
Contributor Author

arielb1 commented May 12, 2017

I want perf stats. Let's merge this out of rollup

@bors p=100

@bors
Copy link
Contributor

bors commented May 12, 2017

⌛ Testing commit b0c80a9 with merge f07d0a9...

bors added a commit that referenced this pull request May 12, 2017
remove the #[inline] attribute from drop_in_place

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes #41696.

beta-nominating  because regression.
r? @eddyb
@bors
Copy link
Contributor

bors commented May 12, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

[00:49:09] test [run-pass] run-pass/issue-41696.rs has been running for over 60 seconds

@alexcrichton
Copy link
Member

If that's because of an older LLVM bug then it's possible to tag this test with // min-llvm-version I believe

@arielb1
Copy link
Contributor Author

arielb1 commented May 13, 2017

@bors r=eddyb

@bors
Copy link
Contributor

bors commented May 13, 2017

📌 Commit 237dbe9 has been approved by eddyb

@bors
Copy link
Contributor

bors commented May 13, 2017

⌛ Testing commit 237dbe9 with merge 77f1bec...

bors added a commit that referenced this pull request May 13, 2017
remove the #[inline] attribute from drop_in_place

Apparently LLVM has exponential code growth while inlining landing pads
if that attribute is present.

Fixes #41696.

beta-nominating  because regression.
r? @eddyb
@bors
Copy link
Contributor

bors commented May 13, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 77f1bec to master...

@bors bors merged commit 237dbe9 into rust-lang:master May 13, 2017
@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label May 17, 2017
@nikomatsakis
Copy link
Contributor

Accepting for beta; small patch, exponential code growth regression.

cc @rust-lang/compiler

@nikomatsakis nikomatsakis added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label May 17, 2017
@nikomatsakis
Copy link
Contributor

Backport in #42053

@brson brson removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants