Implement color optimization for vasm-graph-color
commit5ea5528a9d19def48e97eeace2f3f5080eeb2f92
authorRick Lavoie <rlavoie@fb.com>
Thu, 7 Feb 2019 02:59:00 +0000 (6 18:59 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 7 Feb 2019 03:13:53 +0000 (6 19:13 -0800)
treed7d7e86a296eac66a98b0d344207c9bef3f64527
parenta325ad063f949bb3ba7bbdbd43ea0dba165e8466
Implement color optimization for vasm-graph-color

Summary:
Implement a color optimization pass in vasm-graph-color. This takes an already
colored unit and attempts to improve the coloring choices in order to make more
copies redundant.

Reviewed By: mofarrell

Differential Revision: D13356929

fbshipit-source-id: 6a6b8e3a3fef6dc3f75fa210227cfd80cf1e9730
hphp/runtime/vm/jit/vasm-graph-color.cpp