diff options
author | Maxim Kazantsev <maxim.kazantsev@intel.com> | 2016-07-12 15:55:33 +0600 |
---|---|---|
committer | Maxim Kazantsev <maxim.kazantsev@intel.com> | 2016-07-12 11:14:02 +0000 |
commit | d3278bd288aaecd525f931a54f5f2a392f627fd3 (patch) | |
tree | 20a795e7de9ace6fa695e123fcf7beaf4e9ccbb9 /test/utils/python/generate_java_main.py | |
parent | d8f5f56f2dd90e2bcb6d41cb48403320b9eb04b9 (diff) |
Two more patterns for instruction simplifier
This patch allows the instruction simplifier to cover
two more cases:
x = a + b and x = a - b
y = x - b y = x + b
In both cases y can be replaced with a, if the types
of arguments are integral.
Change-Id: I4735737f471e31057f1df76ddace5d4d1c79cde6
Test: New tests in 458-checker-instruction-simplification.
Signed-off-by: Max Kazantsev <maxim.kazantsev@intel.com>
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions