On Mon, 28 Mar 2011 22:59:31 -0700, Tom Stellard <tstel...@gmail.com> wrote: > This pass scans programs for instructions that read registers that have > not been written and replaces these reads with a read from a constant > register with the value of zero. This pass prevents phantom > dependencies from being introduced by the register allocator and > improves the efficiency of subsequent optimization passes.
I'm not sure why optimizing a program with undefined behavior (using undefined register values) is interesting. It just seems like an opportunity to make a mistake and break programs that should have defined behavior.
pgp6vHWM61sWN.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev