OSDN Git Service

Fixed bug in LICM
authorAart Bik <ajcbik@google.com>
Fri, 11 Nov 2016 02:21:30 +0000 (18:21 -0800)
committerAart Bik <ajcbik@google.com>
Fri, 11 Nov 2016 17:34:56 +0000 (09:34 -0800)
commit08ec180de9481024c16be6841f068a45284cd8cc
treee8d450a7be42213ee14d465cd374e90f205e54df
parent5302bd999afee6db5b0cfd63e6a49b0fcbf92dd4
Fixed bug in LICM

Rationale:
We should stop hoisting anything that can throw
as soon as something else that can do something
visible (either throw or write something) is *not*
hoisted (used to be just throw test on second part).

Bug: 32810295
Test: test-art-host
Change-Id: Id88b712a5d9e37598d0bebbd4ecf4b1d8ee787b5
compiler/optimizing/licm.cc
test/625-checker-licm-regressions/expected.txt [new file with mode: 0644]
test/625-checker-licm-regressions/info.txt [new file with mode: 0644]
test/625-checker-licm-regressions/src/Main.java [new file with mode: 0644]