I just think of another optimization opportunity that may be missed in your algorithm. As you use a map<phiCopySrc, phiCopy> to record the possible to-be-coaleased pair. The phiCopySrc may be used in another phiNode in the same way. Which the algorithm would not record. We may do it later. Could you inline related comment into the patch? Then others could easily understand the code. Anyway, the patchset looks good.
Thanks! Ruiling _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet