diff options
author | David Brazdil <dbrazdil@google.com> | 2015-03-31 09:59:27 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-03-31 10:33:42 +0100 |
commit | 2846b6810e196a1b25bf2d1b5cbe73dee4a2b286 (patch) | |
tree | 9be58420c3e9da52ab581357b4106f1d865e5217 /compiler/optimizing/graph_visualizer.h | |
parent | c4bd0e6a7f4839ea99222f06979cc2369cb9bf10 (diff) |
ART: General-case negation in boolean simplifier
Code transformations on the HGraph may optimize out the condition
instruction of an If and replace it with a boolean value. In such
case, the boolean simplifier would not know how to negate the
condition and would fail. This patch implements negation in this
general case with 'equals 0' as a substitute for the non-existing
boolean Not instruction.
Bug: 19992954
Change-Id: I152036fcc6bbecccc767d3024a5c060177597d88
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions