OSDN Git Service

More loop-body simplifications.
authorAart Bik <ajcbik@google.com>
Thu, 3 Nov 2016 00:50:27 +0000 (17:50 -0700)
committerAart Bik <ajcbik@google.com>
Thu, 3 Nov 2016 20:46:51 +0000 (13:46 -0700)
commite3dedc5e846d1ea19f7a749214be32eaa04b588a
tree669640df7f60f8c7f3e1a1caebd26d910840c067
parent4b2cdf8608c36fbf4304065cd17328cf1e99b49b
More loop-body simplifications.

Rationale:
This removes all dead induction from the CaffeineLogic loop,
giving yet the next performance boost  (2700us->1700us).
Also, the runtime is now the same between a DX compiled
and JACK compiled version, giving confidence that all
recent introduced optimizations are generally useful
and something expected from any optimizing compiler.
Last, less realistic improvement will pale anything
seen so far, since it removes the full loop (still TBD).

Test: test-art-host
Change-Id: Id6b89f74b7d009616821dca195200933cc0eaaf2
compiler/optimizing/loop_optimization.cc
test/618-checker-induction/src/Main.java