diff options
author | David Brazdil <dbrazdil@google.com> | 2015-06-22 10:26:45 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-06-22 11:07:57 +0100 |
commit | 1e9ec053008fca7eb713815716c69375c37b399c (patch) | |
tree | dc7306ce1153648bfc34c67b9475f7fbfbbd18f6 /compiler/optimizing/graph_visualizer.h | |
parent | e85647ed00d07169193cc07ffa09e3b70ce38f59 (diff) |
ART: Simplify (Not)Equal bool vs. int to true/false
Optimizations on the HGraph may produce comparisons of bool and ints.
Instruction simplifier will simplify these only for 0/1 int constants.
Since the range of bool is known, comparison against all other int
constants can always be determined statically.
Change-Id: I502651b7a08edf71ee0b2589069f00def6aacf66
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions