summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-07-10 12:42:52 +0100
committerVladimir Marko <vmarko@google.com>2014-07-23 14:30:29 +0100
commit1fd4821f6b3ac57a44c2ce91025686da4641d197 (patch)
treee12424d57725c1fb38a17541764cb4ccee1f96bf /test/ProfileTestMultiDex
parentf9d6aede77c700118e225f8312cd888262b77862 (diff)
Rewrite topological sort order and improve GVN.
Rewrite the topological sort order to include a full loop before the blocks that go after the loop. Add a new iterator class LoopRepeatingTopologicalSortIterator that differs from the RepeatingTopologicalSortIterator by repeating only loops and repeating them early. It returns to the loop head if the head needs recalculation when we reach the end of the loop. In GVN, use the new loop-repeating topological sort iterator and for a loop head merge only the preceding blocks' LVNs if we're not currently recalculating this loop. Also fix LocalValueNumbering::InPlaceIntersectMaps() which was keeping only the last element of the intersection, avoid some unnecessary processing during LVN merge and add some missing braces to MIRGraph::InferTypeAndSize(). Bug: 16398693 (cherry picked from 55fff044d3a4f7196098e25bab1dad106d9b54a2) Change-Id: Id7bcd99c8abed1b7500b9ef723313d4c5fc6f1e8
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions