Merge "A first implementation of a loop optimization framework." am: 26705cca46
am: 30a054f826

Change-Id: If5720a0fba097bcb9ed26937ceccee7be430e796