Skip to content

remove the #[inline] attribute from drop_in_place#41920

Merged
bors merged 2 commits into
rust-lang:masterfrom
arielb1:inline-drop
May 13, 2017
Merged

remove the #[inline] attribute from drop_in_place#41920
bors merged 2 commits into
rust-lang:masterfrom
arielb1:inline-drop

Conversation

@arielb1

@arielb1 arielb1 commented May 11, 2017

Copy link
Copy Markdown
Contributor

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

eddyb commented May 11, 2017

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented May 11, 2017

Copy link
Copy Markdown
Collaborator

📌 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

arielb1 commented May 11, 2017

Copy link
Copy Markdown
Contributor Author

added a comment to test

@bors r=eddyb

@bors

bors commented May 11, 2017

Copy link
Copy Markdown
Collaborator

📌 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

arielb1 commented May 12, 2017

Copy link
Copy Markdown
Contributor Author

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

@bors p=100

@bors

bors commented May 12, 2017

Copy link
Copy Markdown
Collaborator

⌛ 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

bors commented May 12, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

Copy link
Copy Markdown
Member

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

@alexcrichton

Copy link
Copy Markdown
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

arielb1 commented May 13, 2017

Copy link
Copy Markdown
Contributor Author

@bors r=eddyb

@bors

bors commented May 13, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 237dbe9 has been approved by eddyb

@bors

bors commented May 13, 2017

Copy link
Copy Markdown
Collaborator

⌛ 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

bors commented May 13, 2017

Copy link
Copy Markdown
Collaborator

☀️ 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
Copy Markdown
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
Copy Markdown
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