Skip to content

Commit

Permalink
cranelift: Port most of simple_preopt.rs over to the peepmatic DSL
Browse files Browse the repository at this point in the history
This ports all of the identity, no-op, simplification, and canonicalization
related optimizations over from being hand-coded to the `peepmatic` DSL. This
does not handle the branch-to-branch optimizations or most of the
divide-by-constant optimizations.
  • Loading branch information
fitzgen committed May 14, 2020
1 parent 18663fe commit 090d1c2
Show file tree
Hide file tree
Showing 20 changed files with 1,289 additions and 488 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ docs/book
rusty-tags.*
tags
target
.z3-trace
Loading

0 comments on commit 090d1c2

Please sign in to comment.