Files
wasmtime/cranelift/filetests
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
..
2016-09-16 14:50:32 -07:00
2017-06-07 11:27:22 -07:00
2017-05-02 11:32:12 -07:00
2017-05-25 16:37:31 -07:00
2016-09-16 16:25:36 -07:00