Files
wasmtime/cranelift
Denis Merigoux e47f4a49fb 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-05-18 18:18:57 -07:00
2017-06-07 11:27:22 -07:00
2017-06-07 11:27:22 -07:00
2017-05-08 13:28:49 -07:00
2017-01-25 15:57:43 -08:00
2016-01-12 16:51:35 -08:00