Skip to content

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Feb 4, 2015

Currently "k / 2" generates one (k: uint) or two (k: int) "br false,
..." instructions and the corresponding basic blocks, producing quite
some noise and making the code unnecessarily hard to read.

Additionally we can skip translation if the code would end up
unreachable anyway.

Currently "k / 2" generates one (k: uint) or two (k: int) "br false,
..." instructions and the corresponding basic blocks, producing quite
some noise and making the code unnecessarily hard to read.

Additionally we can skip translation if the code would end up
unreachable anyway.
@rust-highfive
Copy link
Contributor

r? @Aatch

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

@Aatch
Copy link
Contributor

Aatch commented Feb 4, 2015

@bors r+ db8f2d5

@bors
Copy link
Collaborator

bors commented Feb 5, 2015

⌛ Testing commit db8f2d5 with merge 2460288...

@bors
Copy link
Collaborator

bors commented Feb 5, 2015

💔 Test failed - auto-mac-64-nopt-t

@eddyb
Copy link
Member

eddyb commented Feb 5, 2015

@bors retry rollup

@bors
Copy link
Collaborator

bors commented Feb 5, 2015

@bors
Copy link
Collaborator

bors commented Feb 5, 2015

👀 Test was successful, but fast-forwarding failed

@alexcrichton
Copy link
Member

@bors: retry

cc @barosl, any idea why that would show up?

@dotdash
Copy link
Contributor Author

dotdash commented Feb 5, 2015

@alexcrichton
Copy link
Member

Ah, thanks!

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 6, 2015
 Currently \"k / 2\" generates one (k: uint) or two (k: int) \"br false,
...\" instructions and the corresponding basic blocks, producing quite
some noise and making the code unnecessarily hard to read.

Additionally we can skip translation if the code would end up
unreachable anyway.
@bors bors merged commit db8f2d5 into rust-lang:master Feb 7, 2015
@dotdash dotdash deleted the with_cond_false branch March 1, 2015 19:21
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.

6 participants