commit | b320a4d6edb6ab0824934700d706cb5e7cf19c56 | [log] [tgz] |
---|---|---|
author | Santiago Aboy Solanes <solanes@google.com> | Mon Sep 25 10:22:06 2023 +0100 |
committer | Santiago Aboy Solanes <solanes@google.com> | Tue Sep 26 12:50:06 2023 +0000 |
tree | 068d536878babd30ed9c52e498d96feca49beb53 | |
parent | 11957a6dd52ea45eef7324225204fd06a6c983cf [diff] |
Optimize Sub/Sub and Sub/Add operations Handles cases like: * y - (x + y) = -x * x - (x + y) = -y. * (x - y) - x = -y. * x - (x - y) = y. Bug: 301612598 Fixes: 301612598 Test: art/test/testrunner/testrunner.py --host --64 -b --optimizing Change-Id: I2f506b4a4903774baf39e8d2c681db6a59efeb2c