OSDN Git Service

Revert "Revert "Optimizing: double-negated bitwise operations simplifications""
authorAlexandre Rames <alexandre.rames@linaro.org>
Wed, 3 Feb 2016 10:54:07 +0000 (10:54 +0000)
committerAlexandre Rames <alexandre.rames@linaro.org>
Wed, 3 Feb 2016 10:54:07 +0000 (10:54 +0000)
commitca0e3a0c9f1fd5902dc40043b061d2f9b79ec098
treee410c21a6f94536a1cc9666f6f017d135a29ca82
parentb72923dd4d6e1636163047c960395ed9879e31fc
Revert "Revert "Optimizing: double-negated bitwise operations simplifications""

This reverts commit 737c0a99dfbba306ec1f50e2adf66b5d97805af6 with fixes.

In the original patch, the new instruction could be inserted before
one of its inputs. A regression test is also added.

Change-Id: Ie49a17ac90ff048355d9cc944b468cd1b1914424
compiler/optimizing/instruction_simplifier.cc
test/565-checker-doublenegbitwise/expected.txt [new file with mode: 0644]
test/565-checker-doublenegbitwise/info.txt [new file with mode: 0644]
test/565-checker-doublenegbitwise/src/Main.java [new file with mode: 0644]