summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/linearize_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Inlining support in optimizing.Nicolas Geoffray2014-12-151-3/+1
| | | | | | | | | | Currently only inlines simple things that don't require an environment, such as: - Returning a constant. - Returning a parameter. - Returning an arithmetic operation. Change-Id: Ie844950cb44f69e104774a3cf7a8dea66bc85661
* Treat SSA transformation special, as we may have to bailout.Nicolas Geoffray2014-12-021-1/+1
| | | | | | | We forgot to bailout when we found a non-natural loop (on which our optimizations don't work). Change-Id: I11976b5af4c98f4f29267a74c74d34b5ad81e20c
* Revert "Revert "Fix the computation of linear ordering.""Nicolas Geoffray2014-11-241-3/+56
| | | | | | | | PS2 fixes the obvious typos/wrong refactoring. This reverts commit e50fa5887b1342b845826197d81950e26753fc9c. Change-Id: I22f81d63a12cf01aafd61535abc2399d936d49c2
* Revert "Fix the computation of linear ordering."Nicolas Geoffray2014-11-241-56/+3
| | | | | | | | Build is broken. This reverts commit 3054a90063d379ab8c9e5a42a7daf0d644b48b07. Change-Id: I259bc2bd6a58e30391b8176f3db5fdb5c07e4d6d
* Fix the computation of linear ordering.Nicolas Geoffray2014-11-211-3/+56
| | | | | | | | | The register allocator makes assumptions on the order, and we ended up not computing the right one. The algorithm worked fine when the loop header is the block branching to the exit, but in the presence of breaks or do/while, it was incorrect. Change-Id: Iad0a89872cd3f7b7a8b2bdf560f0d03493f93ba5
* Fix valgrind errors.Nicolas Geoffray2014-09-111-2/+3
| | | | | | | | For now just stack allocate the code generator. Will think about cleaning up the root problem later (CodeGenerator being an arena object). Change-Id: I161a6f61c5f27ea88851b446f3c1e12ee9c594d7
* Plug code generator into liveness analysis.Nicolas Geoffray2014-06-101-1/+5
| | | | | | Also implement spill slot support. Change-Id: If5e28811e9fbbf3842a258772c633318a2f4fafc
* Workaround for multi-line comment error when compiled with g++.Nicolas Geoffray2014-05-161-44/+46
| | | | Change-Id: I2f6921d698688526bc52cd7dd33fd39c6853dc09
* Linearize the graph before creating live ranges.Nicolas Geoffray2014-05-161-0/+190
Change-Id: I02eb5671e3304ab062286131745c1366448aff58