kparzysz added a comment. How do you prevent the scavenger from clobbering YMM0 then? Do you think that a similar problem could also happen on X86 in some circumstances? Repository: rL LLVM http://reviews.llvm.org/D14719