Developing GPU code is a pain sometimes when you are not sure what is going on in the back-end and can't always be sure the code you are optimising turns out better. To try and make this simpler I have created a small tool which will let you compare paths through a shader in assembly so you can see if it faster.

The download is here