Thanks for adding the tests. It would be great if you could send these as patches to piglit@lists.freedesktop.org, so we can add them to the test suite. This patch should fix the struct copy tests: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131014/191163.html