Skip to content

Merge IdxSet and IdxSetBuf - #53520

Merged
bors merged 3 commits into
rust-lang:masterfrom
nnethercote:merge-IdxSet-IdxSetBuf
Aug 23, 2018
Merged

Merge IdxSet and IdxSetBuf#53520
bors merged 3 commits into
rust-lang:masterfrom
nnethercote:merge-IdxSet-IdxSetBuf

Conversation

@nnethercote

Copy link
Copy Markdown
Contributor

Because it simplifies things.

@r? nikomatsakis

This makes it more like `AllSets::{gen,kill}_set`, removes the need for
a bunch of bitset range computations, and removes the need for `Bits`.
It's marginally less efficient, because we have to allocate one bitset
per basic block instead of one large shared bitset, but the difference
is negligible in practice.
The `Buf` vs. non-`Buf` distinction is no longer necessary, and the
nastiest code in this file can be removed.
To minimize this patch, `IdxSet` is made a typedef of `IdxSetBuf`. The
next patch will remove this typedef.
Now that the `Buf` vs. non-`Buf` distinction has been removed, it makes
sense to drop the `Buf` suffix and use the shorter names everywhere.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 20, 2018
@nnethercote

Copy link
Copy Markdown
ContributorAuthor

r? @nikomatsakis

@nnethercote

Copy link
Copy Markdown
ContributorAuthor

@bors try

@bors

bors commented Aug 20, 2018

Copy link
Copy Markdown
Collaborator

⌛ Trying commit e7e9f2e with merge 3d5c7019ca98038841575ca04bca95093b3abe4f...

@bors

bors commented Aug 20, 2018

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-travis
State: approved= try=True

@nnethercote

Copy link
Copy Markdown
ContributorAuthor

@rust-timer build 3d5c7019ca98038841575ca04bca95093b3abe4f

@rust-timer

Copy link
Copy Markdown
Collaborator

Success: Queued 3d5c7019ca98038841575ca04bca95093b3abe4f with parent d2048b6, comparison URL.

@nnethercote

Copy link
Copy Markdown
ContributorAuthor

The comparison URL shows that there is no regression of note. (syn-opt has been variable lately, and the ctfe ones are very noisy.)

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Aug 22, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit e7e9f2e has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 22, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Aug 22, 2018
… r=nikomatsakis
Merge `IdxSet` and `IdxSetBuf`
Because it simplifies things.
@r? nikomatsakis
@bors

bors commented Aug 23, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e7e9f2e with merge e73077e...

bors added a commit that referenced this pull request Aug 23, 2018
…akis
Merge `IdxSet` and `IdxSetBuf`
Because it simplifies things.
@r? nikomatsakis
@bors

bors commented Aug 23, 2018

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing e73077e to master...

@bors
bors merged commit e7e9f2e into rust-lang:masterAug 23, 2018
@nnethercote
nnethercote deleted the merge-IdxSet-IdxSetBuf branch August 23, 2018 06:15
@nnethercotennethercote mentioned this pull request Aug 24, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@nnethercote@rust-highfive@bors@rust-timer@nikomatsakis@eddyb