Skip to content

miri: improve and simplify overflow detection#69002

Merged
bors merged 8 commits intorust-lang:masterfrom
RalfJung:miri-op-overflow
Feb 13, 2020
Merged

miri: improve and simplify overflow detection#69002
bors merged 8 commits intorust-lang:masterfrom
RalfJung:miri-op-overflow

Conversation

@RalfJung
Copy link
Copy Markdown
Member

@RalfJung RalfJung commented Feb 9, 2020

This simplifies the overflow detection for signed binary operators, and adds overflow detection to unary operators so that const-prop doesn't have to crudely hand-roll that.

It also fixes some bugs in the operator implementation that however, I think, were not observable.

r? @oli-obk @wesleywiser

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: 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