diff options
author | Mark Mendell <mark.p.mendell@intel.com> | 2015-05-27 10:08:24 -0400 |
---|---|---|
committer | Mark Mendell <mark.p.mendell@intel.com> | 2015-05-27 10:08:24 -0400 |
commit | 33bf2459e6cfe477a9be0c45aec3f6f359ee077c (patch) | |
tree | b7f62193677c1516f53ddbc5eef58cf26b9ec907 /compiler/optimizing/graph_visualizer.cc | |
parent | 00f09ff93480d5f43aaf657650a59d57330184aa (diff) |
[optimizing] x86: Prefer add over lea if possible
Looking at some generated code, I noticed an lea being used when an add
was sufficient. Check for that case, and generate the add.
Fixed for x86 and x86_64.
Change-Id: I110304ff0fed8837ada96d34353a293d29022ce5
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions