commit | be8f57d3a5ff121f1056791ed0910435c834b211 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Sat Apr 25 17:00:45 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Tue Apr 28 18:01:48 2015 +0100 |
tree | 2f3961518e95d2dfae188c04e34cde90cc5def79 | |
parent | 0dd76cd3f09f495a1b9a0e4f8712c09ff885c6fd [diff] |
Quick: Avoid unnecessary GVN work in release builds. In GVN's post-processing phase, compare LVNs only in debug builds as they should be equal anyway. Remove the Gate() from GVN cleanup pass and remove the DCHECK() from MIRGraph::GlobalValueNumberingCleanup() to make it a no-op if the GVN didn't run. Bug: 16398693 (cherry picked from commit f725550c8df90f8ec07395d9be5177a4be591c12) Change-Id: I518fba4a06c8d6d5ab16a6c122dc680b6d44814b