commit | f89381fed12faf96c45a83a989ae2fff82c05f3b | [log] [tgz] |
---|---|---|
author | Anton Shamin <anton.shamin@intel.com> | Mon May 16 16:44:13 2016 +0600 |
committer | Anton Shamin <anton.shamin@intel.com> | Tue Jun 07 01:11:44 2016 +0600 |
tree | fafdf6e995bbea12c62220e9e8cda6a7d22fc139 | |
parent | 2e1c66e37db7eaa713459e15b115d5c217d6e414 [diff] |
ART: ArrayGet hoisting restriction added. Currently if we hoist ArrayGet from loop there is no guarantee that insn will be executed at runtime. Because of that we could face issues like crashes in generated code. This patch introduces restriction for ArrayGet hoisting. We say that ArrayGet execution is guaranteed at least one time if its bb dominates all exit blocks. Change-Id: I9f72c0f4c33b358341109238bea46cb5a82f490f Signed-off-by: Anton Shamin <anton.shamin@intel.com>