Add early-stage optimization crate (#556)

* Add simple constant folding and folding tests
This commit is contained in:
Lachlan Sneff
2018-11-07 18:59:29 -05:00
committed by Dan Gohman
parent bdcc06eb15
commit 3409af7c07
22 changed files with 745 additions and 21 deletions

1
lib/preopt/README.md Normal file
View File

@@ -0,0 +1 @@
This crate performes early-stage optimizations on [Cranelift](https://crates.io/crates/cranelift) IR.