patch and regression test for problem with vzeroupper

Adding patch and regression test for LLVM bug 17631