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

View File

@@ -11,6 +11,7 @@ publish = false
[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.22.0", features = ["testing_hooks"] }
cranelift-reader = { path = "../reader", version = "0.22.0" }
cranelift-preopt = { path = "../preopt", version = "0.22.0" }
file-per-thread-logger = "0.1.1"
filecheck = "0.4.0"
num_cpus = "1.8.0"