Files
wasmtime/src
Denis Merigoux 9b06f76057 LICM pass (#87)
* LICM pass

* Uses loop analysis to detect loop tree
* For each loop (starting with the inner ones), create a pre-header and move there loop-invariant instructions
* An instruction is loop invariant if it does not use as argument a value defined earlier in the loop
* File tests to check LICM's correctness
* Optimized pre-header creation
If the loop already has a natural pre-header, we use it instead of creating a new one.
The natural pre-header of a loop is the only predecessor of the header it doesn't dominate.
2017-06-07 11:27:22 -07:00
..
2017-06-07 11:27:22 -07:00
2017-04-27 12:52:41 -07:00
2017-04-27 12:46:44 -07:00
2017-04-27 12:52:41 -07:00
2017-04-27 12:52:41 -07:00